Business rules

Business rules are usually the most used server-side scripting method. It is possible to use business rules in a basic way that simply requires configuration, rather than customization. I will say that for the majority of requirements that need a business rule, you will most often need to add some sort of customization in the form of scripts.

A particularly helpful aspect of business rules is the different ways they can be triggered. This allows us to run our server-side scripts at different times, based on actions that occur to a record.

When first viewing the business rule form, there are two options for when to run the business rule. These are upon the insert or update of the record. With the business rule in this essentially ...

Get Mastering ServiceNow Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.