Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

Forum Posts

Resolved! how to check for a empty string

I am giving the input as numbers ...ex(11011748,11011749) I am trying to check for an empty string. but it returns empty , even if i enter a string.   -> (11011748,11011749) Code sample answer = (function () { if(current.variables.clabel === "")    /...

Raffi by Mega Expert
  • 7452 Views
  • 7 replies
  • 6 helpfuls

OnSubmit Catalog client script to update custom field value

Hello, I have a requirement to get the variable value & check in my custom table for matching record & then to update the state value to 'completed' in my custom table. I am using a OnSubmit catalog client script  but it is not updating my custom tab...

How to make the checkbox read - only using Client script

I have four checkboxes in my Form , whenever the user selects one checkbox the other three should become read - only once the selection is done . It applies to all the four checkboxes , I tried implementing it using UI Policy but as the UI Policies a...

find_real_file.png
Pooja Khatri by Tera Contributor
  • 3865 Views
  • 6 replies
  • 2 helpfuls

How to allow decimal values in integer field

In a Integer type field it should allow decimal values as well.I have followed below script but it is not accepting decimal values Client Script : onChange function onChange(control, oldValue, newValue, isLoading, isTemplate) { if (isLoading || newVa...

Siri8 by Kilo Contributor
  • 5501 Views
  • 5 replies
  • 1 helpfuls

Resolved! Adding a Mandatory Close Notes to SCTASK

I just want to make sure this makes sense.. We have 1 Tier 2 who refuses to leave notes... super fun.  So when my Tier 1 team goes to check on a Catalog task and we see its been completed by this admin, we have no idea if he actually did what was ask...