Skip to content

Saura's Blog

I am just another tech guy with a lot to hide.

  • Website
  • LinkedIn
  • Email

Tag: scripting

OAuth : Refresh Access Token

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…

Continue reading OAuth : Refresh Access Token
By Saura Sambit
Categorized as ServiceNowTagged api, oauth, rest, scripting, servicenow, token

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…

Continue reading Exploring dictionary types : Name-Value Pairs
By Saura Sambit
Categorized as ServiceNowTagged json, scripting, servicenow

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…

Continue reading Link Outgoing SLA Emails to Task
By Saura Sambit
Categorized as ServiceNowTagged email, event, script action, scripting, servicenow, sla

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…

Continue reading Importing Nested JSONs
By Saura Sambit
Categorized as ServiceNowTagged importset, javascript, json, scripting, servicenow, webservice

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.…

Continue reading Scheduled Events and Script Actions
By Saura Sambit
Categorized as ServiceNowTagged event, javascript, script action, script include, scripting, servicenow

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…

Continue reading The Dotted Objects
By Saura Sambit
Categorized as ServiceNowTagged dot-walking, gliderecord, javascript, scripting, servicenow

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…

Continue reading Email body variables in Flow
By Saura Sambit
Categorized as ServiceNowTagged email, inbound action, inbound flow, scripting, servicenow

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…

Continue reading Et tu, GlideRecord?
By Saura Sambit
Categorized as ServiceNowTagged gliderecord, scripting, servicenow

Recent Posts

  • OAuth : Refresh Access Token
  • Exploring dictionary types : Name-Value Pairs
  • Custom Event Queues
  • Base64 encoded Attachments
  • Link Outgoing SLA Emails to Task

Categories

  • Personal Experience
  • Privacy
  • Security
  • ServiceNow
  • Workspace
Saura's Blog
  • Website
  • LinkedIn
  • Email
Proudly powered by WordPress.