How to retrieve userid/name from GET requests using REST API
I am building a .net core/c# app and using oauth with servicenow. I would like to fetch the user information such as a unique id and name from GET requests. Is there a way to do this ?
We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more
I am building a .net core/c# app and using oauth with servicenow. I would like to fetch the user information such as a unique id and name from GET requests. Is there a way to do this ?
I have a custom widget I copied from the Simple List Widget. I am trying to have the color of the title change dynamically based on a color field (hex) on the record being shown. Right now the widget is referring to the Instance Options, but simply...
I am unable to get the count of number of attachments inserted in the form.Here i write a business rule in "sys_attachment" table.Can anyone help me to sort out this problem?
I'm making minor updates to a scoped app that I developed last year. One of these updates is to add a new field to the forms, including the Default view. I am publishing the app to the local store in DEV, then upgrading in TEST. I see that some of...
Hello all, Yesterday we changed our date/time to MM/dd/yyy (12 hour AM/PM) in the system configuration. Today I was notified that one user is seeing the incorrect format for one of our forms. After comparing to other users he seems to be the only one...
As anyone been able to, seen the need to.... add a "due date" field to the Personal Tasks of a Task Board? Going to submit an Enhancement Request to the team, but wondering what you are all doing in the meantime?
I need to configure the dependent choices from the actual form in Record Producer? I have successfully performed the function in agent view: When Category = Change, only show Subcategories = Modify or New Feature When Category = Demo, only show Sub...
I have a requirement where if a change request is "closed skipped" meaning the state is put into "closed skipped" all of the change tasks (usually around 7) associated with the change request are to have their state set to "closed skipped" as well. ...
Hi, I want to disable the New Buttn at the Dashboard Overview Page. I have no idea where I can confire that or find this page in ServiceNow Thanks,
I have a transform Map in which I had made a field as Coalesce, so that only matching records gets updated when our daily import job runs. The transform map runs and inserts the new records & merges some of them based on the coalesced field. The next...
I have a need to run UI Action on a form which has mandatory fields. Any best practices are appreciated. So far this is all I can think of: -- I can run UI Action with 'Client' checked , (but I need mandatory fields to remain mandatory after UI A...
Hey Guys, I have an issue with the phone number Field. When I insert a number linke 051526987 an then submit the form, the number gets automatically formattet as (051) 526-987. I could not find any Client Script which causes this formatting, so I tho...
Hi, We're running Servicenow on premise and have an issue with the "Copy permalink" button in the Knowledge article view. Since we're running on prem we have several servers and when the "Copy permalink" function is used it copies the URL to one of t...
I created a UI script in the scoped application as follows:var sn_cmp = sn_cmp || {};sn_cmp.PUI = (function() { "use strict"; function AppUI(){ g_form.setValue('xyz','xyz'); }return { AppUI:function()...
I have this UI Action working, but I'm trying to understand the section below in BOLD that calls the Action Name. I dug that out from another script since my function launchWorkflow() wasn't firing in its place. I had to use the BOLD line to get it t...

