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

Forum Posts

"let" keyword causes scheduled job not to run?

Hi all, I've come across some unusual behavior on my ServiceNow Certified System Admin dev instance - apparently when I use the JavaScript "let" keyword in a scheduled job script, it causes the script not to execute at all. I haven't checked yet whet...

shaunwassel by Tera Contributor
  • 1165 Views
  • 2 replies
  • 1 helpfuls

Incident template

Can we get any field value from the incident form on additional comments field through the template? I created a few templates for reminders and added content but need to fetch assigned to person name in additional comment field. How can we achieve t...

Sayali_9822 by Tera Contributor
  • 1527 Views
  • 8 replies
  • 2 helpfuls

updating Create HR Case UI action in interaction record

Hi Everyone,There's a "Create HR Case" ui action on interaction record, which has a Workspace client script: function onClick() {    var USER = g_form.getValue('opened_for');    var NEW_RECORD = '-1';    var TABLE_HR_CASE = 'sn_hr_core_case';    var ...

kartikey by Tera Contributor
  • 1013 Views
  • 5 replies
  • 0 helpfuls

Resolved! UI policy or client script which has more preference??

Hi Everyone,If UI policy makes field mandatory and I use client script to make it non mandatory which one will work?On-change client script I understand will make it in non mandatory, what about client on load script? Regards,Zeba

ZebaT by Tera Contributor
  • 1787 Views
  • 6 replies
  • 5 helpfuls

Flow designer to run in loop until we get desired output

Hi,I'm running a API from custom flow action to get the order tracking status1. from the API i will get status of package as string value(In Transit, Pending, Delivered)2. if the state is other than In Transit or Delivered i need to wait for certain ...

s_dinesh01 by Tera Expert
  • 789 Views
  • 3 replies
  • 0 helpfuls