Skip to content
The Snowball

The Snowball

A ServiceNow Blog & Newsletter

  • Books
  • Learn
    • Best Practices
    • ServiceNow Admin
    • Career Advancement
    • Scripting
    • Advanced
    • Platform Management
    • REST API
    • Service Portal
  • Contact
  • Checkout 🛒

Scripting

Elevate your ServiceNow development skills with our comprehensive resources on JavaScript and GlideRecord, the powerful tools to manipulate data and customize your ServiceNow platform.

Gain in-depth knowledge of server-side and client-side scripting techniques, enabling you to create dynamic applications, automate processes, and build seamless user experiences. Enhance your understanding of GlideRecord, ServiceNow’s proprietary data access layer, and discover how to efficiently query, create, update, and delete records within the platform.

Learn best practices for working with IT Service Management (ITSM), IT Operations Management (ITOM), IT Business Management (ITBM), and other key ServiceNow modules using JavaScript and GlideRecord.

Stay up-to-date with the latest trends, tips, and tricks to optimize your scripting skills, ensuring high-performing, secure, and scalable solutions for your organization’s digital transformation journey.

How to check if the current user is interactive

Scripting

The Role of isInteractive() in GlideSession Handling

Leveraging isInteractive() in ServiceNow for Enhanced Session Management As a ServiceNow developer, differentiating between interactive and non-interactive sessions has been a key aspect of my … Read more

Photo of author

Written by: Team Snowball

Published on: December 16, 2023

How to add a message on the server side

Scripting

How To Add A Message With addMessage(), Info or Error

The Significance of addMessage() in ServiceNow Development In my journey as a ServiceNow developer, one of the most impactful ways I’ve found to enhance user … Read more

Photo of author

Written by: Team Snowball

Published on: December 16, 2023

How to use setLimit()

Scripting

How To Use setLimit() To Return A Set Number Of Rows In A GlideRecordQuery()

The Strategic Application of setLimit() in Data Queries In my experience as a ServiceNow developer, managing data retrieval efficiently is key to maintaining system performance … Read more

Photo of author

Written by: Team Snowball

Published on: December 16, 2023

Force an update with a gliderecord query method

Scripting

How To Use setForceUpdate() To Force An Update With GlideRecord In ServiceNow

Effectively Utilizing setForceUpdate() in ServiceNow GlideRecord Queries In my journey as a ServiceNow developer, I’ve often encountered situations where I needed to ensure that a … Read more

Photo of author

Written by: Team Snowball

Published on: December 16, 2023

Set a field display value

Scripting

How To Use setDisplayValue() To Set A Display Value

As a ServiceNow developer, one of the most intriguing tasks I’ve encountered was ensuring data accuracy and relevance, especially when dealing with reference and date/time … Read more

Photo of author

Written by: Team Snowball

Published on: December 16, 2023

How to order data in a query

Scripting

How To Properly Use orderBy() In A GlideRecord Query In ServiceNow

The Importance of orderBy() in Structuring Data As a ServiceNow developer, I’ve often faced the challenge of fetching and presenting data in a specific order. … Read more

Photo of author

Written by: Team Snowball

Published on: December 15, 2023

Get the name of the current operation

Scripting

How To Get The Current CRUD Operation Name In A Script, with current.operation()

In my experience as a ServiceNow developer, understanding the context of data manipulation is crucial, particularly when working with business rules. This is where the … Read more

Photo of author

Written by: Team Snowball

Published on: December 15, 2023

How To Get The Table Name

Scripting

How To Get A Table Name with getTableName()

As a ServiceNow developer, one of the most fundamental yet crucial tasks is to understand and interact with various data tables. Here, getTableName() in GlideRecord … Read more

Photo of author

Written by: Team Snowball

Published on: December 15, 2023

getEncodedQuery() GlideRecord()

Scripting

How To Properly Use getEncodedQuery() In A GlideRecord Query

As a seasoned ServiceNow developer, I’ve come to appreciate the power of getEncodedQuery() in GlideRecord queries. This method retrieves the current query conditions as an … Read more

Photo of author

Written by: Team Snowball

Published on: December 15, 2023

How to delete multiple records

Scripting

How To Delete Multiple Records With deleteMultiple()

NOTE: Be careful with deleteMultiple() – You are deleting data. Use with caution. The Strategic Use of deleteMultiple() As a ServiceNow Developer/Consultant, I’ve often encountered … Read more

Photo of author

Written by: Team Snowball

Published on: December 15, 2023

Next

About

The Snowball – An Independent ServiceNow Blog & Newsletter. We have no affiliation with ServiceNow.

Recent Posts

  • The Role of isInteractive() in GlideSession Handling
  • How To Add A Message With addMessage(), Info or Error
  • How To Use setLimit() To Return A Set Number Of Rows In A GlideRecordQuery()
  • How To Use setForceUpdate() To Force An Update With GlideRecord In ServiceNow
  • How To Use setDisplayValue() To Set A Display Value

Looking for something

The Snowball © - 2025 - An Independent ServiceNow Site
  • Books
  • Learn
    • Best Practices
    • ServiceNow Admin
    • Career Advancement
    • Scripting
    • Advanced
    • Platform Management
    • REST API
    • Service Portal
  • Contact
  • Checkout 🛒