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

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

Articles

Objectifying GlideRecord: How to do it right

Scenario: You want to store the values of the current record you're accessing via GlideRecord for later reference. Easy, right? Wrong! Problem #1: Storing a reference to GlideRecord doesn't help, it's all lost as soon as the next() method is called. ...

Delete multiple records using REST API

Hello, When we integrate ServiceNow with other 3rd party systems, below are some of the common functionality that you do it Fetch (List)Create/AddUpdate/ModifyDelete In this article, I will show you the code on how you can do bulk delete through API....

asifnoor by Kilo Patron
  • 8397 Views
  • 4 comments
  • 31 helpfuls

OOB Regex Validation for Currency || Email || IP address || Letter || Mac address || Number || URL

Thanks to Mark Roethof                                                          As we are using Madrid or NewYork version of ServiceNow. I have come across one OOB feature of ServiceNow in Madrid for validating  below Currency || Email || IP address...

find_real_file.png find_real_file.png find_real_file.png

Call the Onchange Fucntion in Onload Script

Generally we can write the OnLoad statement within the Onchange script as below: function onChange(control, oldValue, newValue, isLoading) { if (isLoading || newValue == '') { return; // Here we write the onload code } //Here we generally write the ...

Faizi by Tera Contributor
  • 1916 Views
  • 4 comments
  • 1 helpfuls

Service Portal, SC Categories widget improvements

I'm working on the release of a Service Portal which contains mostly OOB functionality. However there are a couple of small improvements that I've worked on that might help others. The changes in this article are just relating to the SC Category widg...

find_real_file.png

Notification standardization

I was looking for a way to standardize notifications when came across these 3 modules in Service Now..  System Policy > Email > LayoutsSystem Policy > Email > TemplateSystem Notification > Email > Notifications Here is the flow on how it ties togethe...

Copy Change - modify the description

Copy change - UI action in change management. As we got a requirement to add text in the description of copied change with the originated change number in it example if a change has a description like: modify an existing workflow the expected result ...

Snow: Python ServiceNow library

Hello, Thought I'd announce an open-source project I've been working on for some time: Snow, an improvement of Pysnow which I created some years ago. It's currently in alpha, and it'd be lovely to get people to test it out and contribute with issues,...

To Peer-Review or not to Peer-Review

  This article is about my thoughts on peer-code-reviews, using some code samples to explain my position.  In short, the current skill level, and coding (even best practices) coupled to advice from influencers can't produce the desired benefits assoc...

Top Contributors