We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Resolved! How to variable name and value in script include

Hi,   in the script include i am trying to get the variable details   When below code i am able to get the variables values but not the name   var user = new GlideRecord('sc_req_item'); user.addQuery('sys_id', empSysID); user.query(); if(user.n...

How to create custom related lists in incident form

Hi, I have a requirement where i need to create custom related lists called " Interaction" in incident form and show all the related interaction with that incident. How can i achieve that ? Please help. Thanks!

SK41 by Giga Guru
  • 3252 Views
  • 9 replies
  • 2 helpfuls

Resolved! How to Relate Survey Instance to the Incident that triggered it

Good afternoon all, I need some help please, possibly in two parts. Firstly, I have a requirement to relate the survey instance to the incident that triggered it. I have referenced the following article:  Survey Response as related list on record Rat...

find_real_file.png find_real_file.png
Cirrus by Kilo Sage
  • 3094 Views
  • 3 replies
  • 0 helpfuls

Fetching "Variables" values in REST API

Dear all,Our ServiceNOW Setup has some custom variables defined for Request Items. e.g. "Requested for:". Is it possible to get the values for these parameters defined under Variables via REST API Dot Walking or any other REST option?Thanks in advanc...

s_gatade by Kilo Contributor
  • 20707 Views
  • 7 replies
  • 11 helpfuls

Gs object not working in client script

I am trying to use GS object in my client script but I am getting the error :-'The object "gs" should not be used in client scripts'How can I use gs in my script?

naziya by Giga Contributor
  • 12931 Views
  • 12 replies
  • 7 helpfuls

SCTask cancel when RITM is cancelled

Hello Experts, I have written the below BR on RITM table to cancel active catalog tasks when RITM is cancelled. But, Though the value of "Closed Cancelled" state is '12', The below script executes but sets SCtasks to "Closed Incomplete" instead of "C...

Rocky5 by Kilo Sage
  • 2451 Views
  • 9 replies
  • 0 helpfuls

How Can We Send a Dashboard as Email?

Hi All,I was wondering, how can I send a configured Daily Dashboard as an email to recipients and also how can it be a scheduled email?It would be of great help if someone could help me out with this.Regards,Abhishek.

Not allowed to update system property

Hello, I have a scoped application that runs as tab inside an incident. When the tab loads, there's a Script Include that updates a system property (x_myappscope_appname.MySystemProperty) that has been created in my application. I have defined the re...

Muni P by Kilo Explorer
  • 1628 Views
  • 1 replies
  • 0 helpfuls

Need help with record watch on single record

I am attempting to use the spUtil recordWatch on a widget that looks at a referenced record of the open record. On my service portal page, I looked over the Real Time To Do App using Service Portal & Record Watchers - ServicePortal.io - Service Porta...

robhaas by Tera Contributor
  • 4249 Views
  • 8 replies
  • 0 helpfuls