We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Date/Time validation script

We got "Invalid Text" error for date/time field of value '1970-01-01 00:00:00' GMT while saving the record on UI.  Below procedure can reproduce the issue (SN version Geneva):A. Preparation  1. Create a new table u_datetime_test2. Add a field u_datet...

Masa29 by Tera Contributor
  • 4475 Views
  • 9 replies
  • 2 helpfuls

Resolved! Why can I not see the SYSLOG table in the Rest API Explorer

Hello everyone,  I am looking to create a read method to the SYSLOG table using the built in Rest API Explorer but I am not seeing that table available. I have ensured that the available from webservices check box is clicked but that did not bring th...

Duplicate RITM created in Service Catalog

We have about 70 items in our Service Catalog.   We have one item which is creating two items in the shopping cart every time it's checked out.   This, in-turn generates 2 approvals and two RITMs.   One of them has all the information that was submit...

dbatch01 by Kilo Explorer
  • 3144 Views
  • 23 replies
  • 0 helpfuls

Resolved! Notification for Additional comments in Service Catalog task

Hello, I'm experiencing an issue with a notification not sent to the task assignment group when a service catalog task is commented.The Additional Comments section on the Catalog Task, is on   sc_task.request_item.commentsWhen I define the condition ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
mariapaskova by Kilo Contributor
  • 11758 Views
  • 24 replies
  • 2 helpfuls

Resolved! Redirect to page after login

I stuck with redirect rules.So I created a page in a Service Portal and would like to redirect all users to this page right after login.I've read the following article:Run script when user logs in But in UI script I didn't understand where addLoadEve...

stryker129 by Mega Guru
  • 6330 Views
  • 3 replies
  • 0 helpfuls

Resolved! Proper use of curly brackets in scripts

I've been researching and I'm not able to find an explanation for how curly brackets are evaluated in a script. Ex:Ex 1:if (current.variable_pool.eh_roe_type == 'Other'){   typeval = current.variable_pool.eh_roe_type_other;   else   typeval = current...

claystroup by Tera Guru
  • 3942 Views
  • 6 replies
  • 3 helpfuls

Performance Analytics Time Series

I have a question is regards to Time Series functionality within ServiceNow's Performance Analytics.   I am wanting to create a couple of different dashboard components that show various percentages. %Month to Date %MonthlyThe issue is that I am havi...

Get Phone Number from user record

Hi Community,I am trying to pull the requester's phone number from their file using the script below, however it's not working. Does anyone have any suggestions, as to what I am doing wrong here?function onChange(control, oldValue, newValue, isLoadin...

sn624 by Kilo Explorer
  • 4357 Views
  • 9 replies
  • 0 helpfuls

Resolved! Hint field in change form

Hi All,We want add one Hint field in the change form. could some one help on thisRegards,Roopa

Community Alums by Community Alums  
  • 4097 Views
  • 11 replies
  • 8 helpfuls