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.

autoSysFields(false)

Scripting, ServiceNow Admin

Don’t Update System Fields With autoSysFields(false)

When To Use autoSysFields(false) As a ServiceNow Admin, you’ve most likely experienced this scenario before. You need to bulk update a few hundred records, by … Read more

Photo of author

Written by: Team Snowball

Published on: August 23, 2021

create a scheduled job sys_trigger

Scripting, ServiceNow Admin

How To Write An Async Business Rule in ServiceNow

Understanding Async Business Rules All ServiceNow Admins need to understand when to use an async business rule, and when not to. An async business rule … Read more

Photo of author

Written by: Team Snowball

Published on: August 23, 2021

before query business rule for access

Best Practices, Scripting

Restricting Access – ACL vs. Before Query Business Rule

How To Prohibit Access When most ServiceNow Admins think about granting or restricting access, the first thing that comes to mind is ACL (Access Control … Read more

Photo of author

Written by: Team Snowball

Published on: August 11, 2021

syslogs for source in gs.log

Best Practices, Scripting

Organize System Logs By Using A Source with gs.log()

Add A Source To gs.log(value, source) ServiceNow environments can create millions of system logs on a daily basis. And no one has time to manually … Read more

Photo of author

Written by: Team Snowball

Published on: August 9, 2021

info message on incident client script

Scripting

How To Show An Info or Error Message On A Form

Informational and Error Messages with g_form() Sometimes, you want to show everyone visiting a certain form some information. Say you’re experiencing an outage, or there’s … Read more

Photo of author

Written by: Team Snowball

Published on: August 9, 2021

returns many records

Best Practices, Scripting

Use get() to get One or Many Records With GlideRecord

Use get() with ServiceNow

Photo of author

Written by: Team Snowball

Published on: July 28, 2021

Best Practices, Career Advancement, Scripting

How To Use addEncodedQuery() with GlideRecord in ServiceNow

What is addEncodedQuery() This is something that will end up saving you a lot of time and can make your GlideRecord queries a lot cleaner … Read more

Photo of author

Written by: Team Snowball

Published on: July 28, 2021

addOrCondition being used in a background script

Best Practices, Scripting

How To Use addOrCondition() with GlideRecord

Want To Add An OR Condition To A GlideRecord Query? As an admin, you need to be comfortable with GlideRecord scripting on the server. The … Read more

Photo of author

Written by: Team Snowball

Published on: July 20, 2021

client side ui action on the incident form

Best Practices, Scripting

How To Add A Button To The Incident Form

Adding A UI Action (Button) To Any Form In ServiceNow, admins can configure all aspects of a form. This includes fields, relationships between these fields, … Read more

Photo of author

Written by: Team Snowball

Published on: July 16, 2021

stop approval creation if your own

Best Practices, Scripting

Don’t Create An Approval, If Task Is Assigned To Approver

Don’t Allow Approval To Be Created, If Task Is Assigned To That User How do we stop an approval from being created, if the associated … Read more

Photo of author

Written by: Team Snowball

Published on: July 14, 2021

Prev 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 🛒