Define business rules - Introduction


Business rules are server-side logic that is used with canvas or model-driven apps to set or clear values in one or many columns in a table. They can also be used to validate stored data or show error messages. Model-driven apps can use business rules to show or hide columns, enable or disable columns, and create recommendations based on business intelligence.


Business rules are usually defined for an table and apply to all forms, but you can define a business rule for a specific model-driven form. Canvas apps cannot have a business rule applied to a specific form.

Business rules give you a powerful way to enforce rules, set values, or validate data whichever form is used to input data. Additionally, business rules are effective in helping to increase the accuracy of data, simplify application development, and streamline the forms presented to end users.

Business rules can be used by canvas apps or model-driven apps to do the following:

  • Set column values.

  • Clear column values.

  • Validate data and show error messages.

Model-driven apps can also use business rules to:

  • Show or hide columns (model-driven apps only).

  • Enable or disable columns (model-driven apps only).

  • Create business recommendations based on business intelligence (model-driven apps only).