We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

Forum Posts

Calling Script Include in Business rule

Hi All,I have a requirement of calling a script include from the business rule, Let me explain the complete requirement1) I have created a test variable in one of the catalog item2) whenever the test variable is set to complete, Only then the busines...

Resolved! Can't Impersonate Users

Still pretty new to ServiceNow, and our implementation is just getting off the ground. Completed the SN Fundamentals course and am trying to learn more in my own Dev instance (Madrid). Right out of the gate though I'm running into an issue. I can't i...

find_real_file.png find_real_file.png
John Fallara by Giga Contributor
  • 13281 Views
  • 20 replies
  • 8 helpfuls

How do I separate error messages with new lines?

What I have done is on the Incident form, when you click on a certain account, the account note auto-fills in the notes section of the Incident form. If the customer has multiple lines of notes for their account, how do I make it so they show up on s...

Resolved! sysparm_query not working for strings with spaces

Hi, I am trying to retrieve the sys_id using REST API call. To filter the records, I am using sysparm_query; however, the filter condition doesn't work if the string contains any spaces in between. $ curl "https://dev101959.service-now.com/api/now/ta...

Resolved! String Validation (starts with)

Greetings all,I'm looking for some assistance on syntax for a series of start withs IE if it startswith ABC, or XYZ or CAT.I know it's a on change script for the variable, just not sure on how to match characters. (case insensitive)Any thoughts?

Derek10 by Tera Expert
  • 7548 Views
  • 5 replies
  • 4 helpfuls

Resolved! How do I add columns to a related list for all users ?

I am looking to add/rearrange columns in a related list, for all users not just for one through the gear icon.     We're running Geneva which apparently has some issues with related lists and customization.     Any pointers or links to existing white...

gwbisch by Kilo Contributor
  • 9627 Views
  • 5 replies
  • 10 helpfuls

Resolved! REST from script include

Hi, How to call REST api resource path (GET) from script include to trigger REST method. Please help in this     Thanks a ton!  

maneesh3 by Tera Contributor
  • 12489 Views
  • 10 replies
  • 4 helpfuls

getElementsByClassName

Hi All., getElementsByClassName ( on load client script) is not working in service portal. how to replace or any other ideas? Checked on Isloate script and it is set to be false. Regards, Sowmiya

sowmya29 by Tera Contributor
  • 3392 Views
  • 4 replies
  • 1 helpfuls

Resolved! Custom application - UI Action to copy a record

Trying to make a UI Action in our custom application that will copy some fields from an existing record into a new record.   We have similar UI Actions for Incident and Change that work properly but I can't get this working.     I've tried changing t...

Resolved! ATF Teststep remains pending

Hi, i have a problem with a teststep. In the first step i just create a record. in the second step I whant to perform a Script but the ATF dosen't execute that step and in the result the status of the step remains pending. Why is that ? The step sho...

find_real_file.png
stephan8 by Tera Expert
  • 3157 Views
  • 5 replies
  • 3 helpfuls