Business rules A business rule is a server-side script that runs when a record is displayed, inserted, updated, or deleted, or when a table is queried. Use business rules to accomplish tasks like automatically changing values in form fields when certain conditions are met, or to create events for email notifications and script actions.Note: Business rules can make use of scripts to take actions on records in the database. However, there are several other scripting options available on the platform, such as client scripts and UI actions. How business rules workTo configure business rules, you first need to determine when the business rule should run and what action it should take.Business rules in scoped applicationsEvery business rule is assigned to either a private application scope or to the global scope. Create a business ruleYou can create any type of business rule to run when a record is displayed, inserted, updated, or deleted, or when a table is queried.Global variables in business rulesPredefined global variables are available for use in business rules.Display business-rulesDisplay rules are processed when a user requests a record form.Task Active State Management business ruleThis business rule determines whether the active field value needs to change based on changes to the State field.Example business rule scriptsFind an example business rule script that helps you with a requirement of your organization.