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 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.