Business rules

Let us create our first server-side script-a business rule. A business rule is a JavaScript code that is associated with a table, runs on the server, and is executed before, after, or asynchronously when a record is inserted, updated, deleted, or retrieved in the specified table.

The following business rule new record form has many fields and tabs available when the advanced checkbox is checked:

  • When to run
  • Actions
  • Advanced (this tab is available only when the Advanced checkbox is checked)
  • The business rule can execute based on the kind of database operations selected. One or more of the following different operations can ...

Get ServiceNow Application Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.