Create Rules for Business Objects

Most applications require rules for business objects to execute business logic that deals with the data. For each business object in your application, you can create business rules that validate objects and fields and that trigger actions based on events or field changes.

To define business rules for each business object, you can create:
  • Object and Field triggers that let you react to data events (for example, when a record is inserted, updated, or deleted). You can use the trigger designer to visually define the conditions and actions that will be executed in those events, or write custom Groovy scripts that define more complex logic.
  • Object and field validators that make sure data at the field or record level is correct.
  • Object functions that encapsulate logic relating to a business object.

Business rules always run on the server and work the same way no matter how a business object is updated (whether through REST API calls or Groovy scripts).