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

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
  • 2978 Views
  • 26 replies
  • 1 helpfuls

populate one field value in same table another field.

i am created new table with below columns.1. program manager --> reference to program table 2. user --> reference to user table.and similarly i have created few string fields.1, program managers2. user name 3. user email my requirement is i need to p...

siva58 by Tera Contributor
  • 1588 Views
  • 7 replies
  • 1 helpfuls

how to hide all below fields based on slection

hi team, i have an yes/no field, when i "no" all other below fields have to hide on form. there are almost 100 fileds where i cannot write ui policy or client script for this. i have seen there is an other simple option for this instead of ui policy....

Deepthi13 by Tera Expert
  • 1358 Views
  • 7 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
  • 1176 Views
  • 1 replies
  • 0 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
  • 6671 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  
  • 3093 Views
  • 1 replies
  • 1 helpfuls

Resolved! Does the Parent field on sc_task have to be populated?

There is a business rule called "Populate parent field in sc_task table" that sets the value of the "Parent" (parent) field to be the same as the "Request item" (request_item) field if the "Parent" field is empty at the time of update. We have a use-...