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

Forum Posts

Client Script onChange does not work first time around

I'm relatively new to ServiceNow Client Scripts. I'm trying to write a script that makes the 'comments' field mandatory specifically when incident 'state' changes to newValue In Progress (2), from oldValue New (1). The script seems to work successful...

SN_Client_Script.png
Lee Jones by Tera Contributor
  • 3113 Views
  • 5 replies
  • 0 helpfuls

Cloning Down from Prod to Sub Prod

Hi, I have integrations both in Dev and Test. Does it matter if I do the clone first? Or do I have to have let's say the Mid Servers that would impact integrations set up first? Can I configure the Mid Server after? BestTom

tekkytommy by Tera Contributor
  • 1806 Views
  • 1 replies
  • 1 helpfuls

Resolved! How to extract data from a JSON payload

I am to extract data from this JSON payload , have been able to parse and stringify it but cannot access the fields within.  Setting up log statements all I am returning is undefined  For example :  var a = JSON.stringify(responseBody);gs.log("Policy...

rob_kling by Tera Contributor
  • 9122 Views
  • 5 replies
  • 0 helpfuls

Resolved! Logging transform map custom errors on onBefore script.

Hello, I am able to log custom errors during the import process but, somehow I cannot associated them with the import set. Here is code similar to what I am using.   (function runTransformScript(source, map, log, target /*undefined onStart*/ ) { ...

rai5 by Mega Guru
  • 4587 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to give customers access to a new UI Builder/AES application?

I've managed to move my application from my PDI to our Dev environment but when I impersonate a customer and try to access my portal URL I see 403: You do not have permissions to access this page. I've set the audience for the page and also updated t...

Ian50 by Mega Contributor
  • 4601 Views
  • 4 replies
  • 52 helpfuls

Default Sorting Order for list View

HiI have a custom table, there are some records created in that by users and when a vip user creates a record, those records should always display on top of the list followed by other records. I've applied a default sort in module menu arguments, and...

Santosh53 by Tera Contributor
  • 1677 Views
  • 1 replies
  • 0 helpfuls

Mention in Activity stream not sending any emails

I wanted to send notifications through activity stream of RITM or wherever applicable through service portal. I have checked instance options as below.  "Activity Stream @Mention" Email notification is also active.  But emails not going for the user...

find_real_file.png find_real_file.png
Mihir YSSS by Tera Contributor
  • 1853 Views
  • 4 replies
  • 0 helpfuls