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

Forum Posts

Resolved! Can not open UI page from UI action

I have created a simple UI action that creates a GlideModal class and opens a UI page. I havent completed the functionality that I want out of it but right from the start I have a problem opening the UI page. The problem is that when I trigger the UI...

1.PNG 2.PNG 3.PNG 4.PNG

Resolved! Set DateTime Value with 00:00:00 Time

Hi,i have a Field with the Value "2022-09-09 08:04:37"no i want to addy days and return it in a DateTime Field but i need only the Date (i cant change the Filed type) So in want to Add Days and Set the Value like this: "2022-09-12 00:00:00" So how i ...

Meloper by Kilo Sage
  • 2327 Views
  • 2 replies
  • 1 helpfuls

How to Add Variables to Old RITMs

I have a variable recently added to my catalog item. I want to now add that variable to old RITMs so that I can make use of it in reports on all records of this requested item.Variable is defined as:name Questionsys_idorderpart of a variable setI wan...

kshaw by Giga Guru
  • 2288 Views
  • 6 replies
  • 2 helpfuls

Standard Change and Risk Assesment

Hi All, I am currently exploring the standard change options. On our normal changes the user has to fill in a risk assessment. On standard change how will this work?  Is it possible so when the user proposers fills in a standard change template that ...

Sam Ogden by Tera Guru
  • 2804 Views
  • 5 replies
  • 0 helpfuls

Resolved! JSON Parse

Hi  I have simple question. What is the difference between both parsing ways? Output is the same.  var jsonString = '{"var1": "hello","var2":"world"}'; var parsed = JSON.parse(jsonString); gs.info(parsed.var1)  or  var jsonString = '{"var1": "hello",...

Sven Olsen by Tera Contributor
  • 1982 Views
  • 1 replies
  • 1 helpfuls

Inserting empty in custom table(Multi row variable set)

Created MRVS on catalog item and inserting these variable values into the custom table but its adding empty value in the custom table.   using below script in task activity of workflow ( As i want task to be created and in the same time variables val...

find_real_file.png
Sneha39 by Mega Guru
  • 4944 Views
  • 26 replies
  • 1 helpfuls

Resolved! Dependent classes not working. CMDB Instance API; POST https://.service-now.com/api/now/cmdb/instance/ Create a record with associated relations;

The CMDB Instance API POST https://.service-now.com/api/now/cmdb/instance/ Create a record with associated relation endpoint works for classes that have no dependency. However I get this error when the class has a dependency and I can not figure out ...

pFog by Tera Contributor
  • 1622 Views
  • 1 replies
  • 1 helpfuls

toString() method actual use case

Hi Developers, I search numerous use case for .toString() but still trying to understand the user case of .toString(). I seen couple of script where .toString is there and couple where it is not there but still both are giving same result. I tried be...

Shivam10 by Tera Contributor
  • 7863 Views
  • 3 replies
  • 2 helpfuls

Resolved! Changing the Filter of a List Collector Variable via Client Script

Hello everyone, I am trying to create a default filter condition for a list collection that is used in one of my projects. This link seems to have already an answer to what I am looking for: https://servicenowguru.com/scripting/client-scripts-scripti...

Forum servicenow.png
Community Alums by Community Alums  
  • 3412 Views
  • 1 replies
  • 1 helpfuls