Return Multiple Records as an Array of Objects in ServiceNow

Array of Objects In ServiceNow, sometimes we need to fetch multiple records and store them in a structured format. The best way is to use an Array of Objects. This method is very useful when you want to return multiple records from a Script Include and use them in Background Scripts, UI Scripts, or Integrations….

What is Script Include ?

A Script Include is basically a reusable server-side JavaScript class in ServiceNow. Example Suppose you need to get the caller’s email address from an Incident record.Instead of writing the same GlideRecord query everywhere, you put it in a Script Include: When to use it? Why do we use it? What is User Util ?UserUtil is…

|

Using Templates in Service OperationWorkspace(Incidents)

1. What is a Template? Think of a template like a shortcut. Instead of typing the same details again and again when creating an incident, you can use a template that already has those details filled in. For example: If users often call for a password reset, a template can automatically fill in: 2. Why…

|

ServiceNow : Incident Reports and Dashboard

1. Assignment Objective The objective of this assignment was to create four reports from the Incident table in ServiceNow using different chart types (bar, pie, line, donut), share them with a specific user (Afan Khan, user ID: ak), and then create a dashboard named ‘Incident Details’ to display all these reports together. 2. Importance of…

|

Understanding the 5 UI Translation Tables in ServiceNow

ServiceNow handles user interface (UI) translations using five dedicated tables. Each table serves a different aspect of the platform’s user experience and supports internationalization (i18n) in a structured way. 1. sys_documentation Purpose: Stores field labels (like form labels) for all languages, including English. 2. sys_choice Purpose: Stores dropdown values (choices) like priorities, states, etc., in…

|

Configure Reference Field Search Behavior in Service Operations Workspace (SOW)

ServiceNow introduced a performance-focused change in how reference fields behave in Statements of Work (SOW). By default, when a reference field such as Configuration Item, Service Offering, or Service is empty, clicking it will display only recently selected values instead of automatically pulling the full list of available options. This improves performance but may feel…