Skip to content

Saura's Blog

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

  • Website
  • LinkedIn
  • Email

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

Custom Event Queues

ServiceNow’s event queues are mechanisms used to manage and process system events asynchronously. Events trigger actions based on conditions, enabling tasks such as notifications or workflows. When examining the Events [sysevent] table, you’ll notice that certain out-of-the-box (OOB) events have…

Continue reading Custom Event Queues
By Saura Sambit
Categorized as ServiceNowTagged event, processor, queue, servicenow

Base64 encoded Attachments

A common use case when working with integrations in ServiceNow is dealing with attachments in base64 format. However, the information on how to accomplish this is often scattered across different sources. This article aims to provide clear and effective code…

Continue reading Base64 encoded Attachments
By Saura Sambit
Categorized as ServiceNowTagged attachment, 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

Attachments from Draft Record Producers

The Washington release introduced a wealth of new features to ServiceNow, including the highly anticipated ‘Save as Draft’ functionality for portal forms. This feature allows users to save incomplete forms as drafts and return later to finish and submit them.…

Continue reading Attachments from Draft Record Producers
By Saura Sambit
Categorized as ServiceNowTagged attachment, record producer, servicenow, washingtondc

Calendar Sync for Dispatcher Workspace

The Field Service Management application in ServiceNow offers a dedicated workspace for dispatchers, allowing them to assign work order tasks to field agents using a drag-and-drop interface. Additionally, dispatchers can view the agents’ ServiceNow calendars to check for any existing…

Continue reading Calendar Sync for Dispatcher Workspace
By Saura Sambit
Categorized as ServiceNowTagged calendar, field service, fsm, integration, servicenow

Bi-directional Journal Field Sync

In the ServiceNow ecosystem, we frequently encounter the requirement to synchronise journal field entries, such as Work Notes or Additional Comments, between related task records. The most straightforward approach is to use business rules. This method works well for unidirectional…

Continue reading Bi-directional Journal Field Sync
By Saura Sambit
Categorized as ServiceNowTagged additional comments, business rule, journal, servicenow, work notes

Posts pagination

1 2 3 Older posts

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.