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

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

Forum Posts

search for requested for

Trying to find all requests for a specified user. Then creating tasks based on those requests.  Getting error Evaluator: com.glide.script.RhinoEcmaError: Cannot read property "requested_for" from null script : Line(4) column(0) 1: var applic...

Jim Sheldon by Tera Contributor
  • 1772 Views
  • 6 replies
  • 2 helpfuls

Resolved! Contextual search doesn't show up on record producer

I added a macro field on record producer and configured as follows. This doesn't display on the record producer. Also by default what value does it take for the search to work. Is there a field I need to define?  

samadam_0-1678241034141.png
samadam by Mega Sage
  • 2288 Views
  • 3 replies
  • 1 helpfuls

Resolved! g_scratchpad not defined : error coming onSubmit catalog client script

Hello All,I have written one catalog client script using g_scratchpad.It is working on portal but on the backend side form.Please let me know how can this be solved.Script: function onSubmit() { var actionname = g_form.getActionName(); if (g_scratchp...

app by Mega Expert
  • 7985 Views
  • 22 replies
  • 2 helpfuls

Resolved! Create alert for a service catalog variable

I have a need to create an alert on a variable at the SCTASK level/table.  Need the alert to display below the requested for variable.  I can get the alert to display on the form but cannot figure out what I am doing wrong that it will not display be...

get yes/no in client script confirmation prompt

Have a client script, which on a clearing a field value , will give below confirm dialogIs there anyway to get "yes" and "no" instaed of "ok" and "cancel"Thanks

find_real_file.png
anur by Kilo Contributor
  • 12696 Views
  • 6 replies
  • 0 helpfuls

Resolved! End date Greater than Start date

Created two Date/time fields in format DD:MM:YYYY HH:mm:ssEnd date(DD:MM:YYYY HH:mm:ss) can not be earlier than Start date(DD:MM:YYYY HH:mm:ss)?? Can anyone give script for this?

Community Alums by Community Alums  
  • 3604 Views
  • 10 replies
  • 0 helpfuls