Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Business rules Increment value if contains initial keyword

Hi,  I have a Business rules that increments the integer values if contains initial keyword, but the problem is it will increment until 8 and goes back to initial number. I have below code.  (function executeRule(current, previous /*null when async*/...

Xhare_1-1718826280067.png
Xhare by Tera Contributor
  • 740 Views
  • 3 replies
  • 0 helpfuls

get Field Type in Client Script

Dear All,Can someone provide an insight of how we can get the field Type for the fields in a Client Script?something similar to the below code we use in Server side scripting.var glideElement = current.getElement(fieldName);   var descriptor = glideE...

rachanar by Tera Contributor
  • 8868 Views
  • 3 replies
  • 1 helpfuls

ServiceNow Reports

Need to generate the report on AYS based on assignment groups and reassignment groups on how much time spent an the tickets and count of tickets.  Example below: Incident On From Assignment Group To Assignment Group Duration 1-Jun GroupA GroupB 20 mi...

Need help on client script displaying Slush Bucket value.

Hello,I have a Slush Bucket that displays users name. The below variable is storing the user sys_id.  Could some one please let me know I can display the user name instead of the sys_id.  Thank you. var values = slush.getValues(slush.getRightSelect()...

Meera_P by Tera Expert
  • 758 Views
  • 4 replies
  • 0 helpfuls

Problem task pop up Issue

Hi,When the user is in the process of completing the problem task, a pop-up window should appear on the screen.I am encountering a pop-up window that keeps appearing on my screen.I have compared the UI script with PDI, and I can confirm that they are...

subashds6515_0-1718895163138.png subashds6515_1-1718895232475.png

Resolved! If RITM is assigned to the current user

Hello, looking for help to fix this script to include if the ritm is assigned to the current user, enable attachments: function onLoad() {    //Type appropriate comment here, and begin script below    if (g_form.getValue('approval') !== 'approved' &&...

DreDay3000_0-1718896008837.png
DreDay3000 by Tera Guru
  • 693 Views
  • 1 replies
  • 0 helpfuls

Different approvers at each step in flow

Hello I have different steps in my flow. After user submits the first 10 fields in the form, it should be approved, then if approved, the approver fills out the next 3 fields, then the next approver after approving, fills out the next 5 fields, and s...

karlab_1-1718892907165.png
karlab by Tera Contributor
  • 484 Views
  • 1 replies
  • 0 helpfuls

Scripting

Hi Team ,I want to learn scripting from scratch so could anyone tell me the path and suggest me some now learning courses.Help will be much appreciated . Thanks in advance !

Snehal by Tera Expert
  • 963 Views
  • 3 replies
  • 2 helpfuls