Business Rules (Model-Driven Apps & Dataverse)
Business Rules in Microsoft Dataverse Business Rules allow you to define logic, validations, and UI behavior on Dataverse table forms without writing code. They work mainly inside model-driven app forms and partially in server-side operations depending on the scope. 1. Scope of Business Rules Entity – Applies to all forms of the table and also runs server-side when the record is created or updated by API/flows. All Forms – Applies to every model-driven form associated with the table. Specific Form – Applies only to the selected form. Note: Canvas apps require the rule to be set at table (Entity) scope, but Canvas apps support only limited actions. 2. Components of a Business Rule Condition – Evaluates field values or expressions. Set Field Value – Automatically fills or changes a field value. Clear Field Value – Removes existing values. Set Business Required – Makes a field Required, Optional, or Recommended. Set Visibility – Shows or...