Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Developer forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

Resolved! Change field options based on another field

I have found a few answers to similar questions in the past, but for the life of me I can't get this working and am hoping someone might be able to give me example code: Not sure if I should be using a client script or ui policy for it. The form is f...

Staxed by Tera Guru
  • 1380 Views
  • 2 replies
  • 1 helpfuls

Resolved! REST API Create incident - urgency

I use the table API to create a new incident: https://dev77859.service-now.com/api/now/table/incident {     "state": 1,     "active": "true",     "short_description": "Test incident",     "description": "This is a test POST request to create a new i...

Resolved! Modify choices on a list based on another field, but I get onChange script error: ReferenceError: g_list is not defined function () { [native code] }

Hello, I'm working on an onChange client script. I have a requirement to limit choices on a list type element based on another field called 'role'.    function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newValu...

find_real_file.png
Kub by Tera Expert
  • 1727 Views
  • 9 replies
  • 4 helpfuls

Resolved! Make comments field mandatory in Agent work space.

Can some one help me how to make comments field mandatory in agent work space I tried g_form.setMandatory('comments', true); but not working , I am enforcing that in the workspace client script section , every other action is working fine except sett...

find_real_file.png find_real_file.png
KaMmILa__ by Tera Expert
  • 3374 Views
  • 12 replies
  • 4 helpfuls

Resolved! Setting a value in a Catalog Task field from the User table

Hi all As part of our New Employee process, we'd like to set 2 values in 2 fields on a Catalog Task record, from the User table. I've attempted a client script on the Catalog Task table to do this, but I know it's not right, and was hoping someone co...

Table fields on catalog Item

How can I Populate custom table fields on catalog item(Portal and UI).   Catalog Item Custom table Fields Field 1Filed 2Field 3 Submit    

Sneha39 by Mega Guru
  • 1335 Views
  • 9 replies
  • 3 helpfuls

How to change the Agent Chat/VA icon on Service Portal

Hi All, Could you please help me with modifying the Agent Chat/VA icon on the Portal. I want to see as below mentioned. Note: I have enabled the Agent Chat- 'Service Portal Agent Chat Configuration' under Service Portal module. Thanks in Advance..!! ...

find_real_file.png
Community Alums by Community Alums  
  • 750 Views
  • 3 replies
  • 0 helpfuls

how to pull SLA breach report

Hi All,I need to pull a report of all the incidents that were in my teams queue and breached their SLA this month. how can this be achievedThanks & Regards,

sohan_snow by Tera Contributor
  • 25038 Views
  • 4 replies
  • 1 helpfuls

Resolved! Convert object values into an array

Hi All, I have a CS and SI with ajax calls to fetch records from a table. I can see that records are being fetch from SI as a JSON object because I am passing them as JSON object. When I am printing the answer in the client script as get something li...

Khanna Ji by Tera Guru
  • 6533 Views
  • 3 replies
  • 0 helpfuls