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

Articles

Exploring dictionary types : Name-Value Pairs

JSONs are widely recognised for their capability to store multiple values in a single variable. In ServiceNow, we frequently use JSONs in our scripts; however, there is also a dictionary data type available. This allows you to store a simplified vers...

name_value_pair_dictionary_record.png name_value_pair_form_view.png

Automating Remote Updateset Retrieval and Installation

Background Often in DevOps-minded organizations, promoting update sets from lower instances to the Production Environment is considered as something to be automated. As there is no such OOB facility available in ServiceNow, the following script is bu...

find_real_file.png
Sandaru1 by Tera Expert
  • 5760 Views
  • 5 comments
  • 9 helpfuls

Cancel transactions via URL

Developers may be aware of the handy “cancel all transactions” module when we get locked out of a session. However, copying and pasting this URL into your browser will stop the transaction and unlock the session without needing to start another sessi...

Read Excel File Using Script

We can read Excel from a server-side script using the below code.   Example: Suppose I have one Excel file which has 3 field Employee ID, LAST NAME, and FIRST NAME. I wanted to retrieve all the data from Excel and wanted to store it in any table or w...

Top Contributors