OAuth 2.0 is a widely adopted authentication method across numerous ServiceNow integrations. Whether it’s for a custom scripted integration or an Integration Hub spoke, OAuth token flows are frequently utilised. Two of the most commonly employed flows are the ‘Client…
Tag: scripting
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…
Link Outgoing SLA Emails to Task
The SLA engine in ServiceNow efficiently manages Task records, such as Incidents and Cases, by sending timely email notifications to agents and management. This proactive communication helps prevent imminent breaches, ensuring that Service Level Agreements are consistently met. Due to…
Importing Nested JSONs
JSON (JavaScript Object Notation) is a lightweight data interchange format that’s easy for humans to read and write, and easy for machines to parse and generate. It’s commonly used for transmitting data in web applications between servers and clients. JSONs…
Scheduled Events and Script Actions
There are various methods to execute server-side logic in ServiceNow, with business rules and script includes being among the most common. However, when there’s a need to delay the execution of logic for a specified period, the options become limited.…
The Dotted Objects
Dot-walking is well-known among ServiceNow enthusiasts for its simplicity in accessing elements across referenced records. However, simplicity isn’t always the best approach. If you haven’t encountered dot-walking failures in some scenarios, have you really delved deep into ServiceNow scripting? It’s…
Email body variables in Flow
While we are gradually transitioning from standard inbound actions to inbound flows, we are losing access to certain native functionalities that are often easier to script in ServiceNow. Achieving these functionalities in a low-code environment like inbound flows can sometimes…
Et tu, GlideRecord?
It is one of the most frequently utilized classes within ServiceNow. Whenever we encounter minor data needs in server-side scripts, GlideRecord is consistently relied upon. This reliance is such that we often trust the data returned by a GlideRecord query…