Apply business logic in Common Data Service

There are several choices available for applying business logic in Common Data Service.

Business rules

You can create business rules and recommendations to apply logic and validations without writing code or creating plug-ins. Business rules provide a simple interface to implement and maintain fast-changing and commonly used rules.

Define business rules for an entity that apply to all the entity forms and at the server level. Business rules defined for an entity apply to both canvas apps and model-driven apps if the entity is used in the app. More information: Create a business rule for an entity

Note

To define a business rule that applies to a form in a model-driven app, see Create business rules for a model-driven app form

Power Automate

Power Automate has several different flows you can use to create automated workflows within Common Data Service or between Common Data Service and another app or service than can be used to synchronize files, get notifications, collect data, and more.

Flow type Description More information
Business process flows Define a set of steps that runs in a Power Apps model-driven app for people to follow to take them to a desired outcome. Learn more
Automated flows Create a flow that performs one or more tasks automatically after it's triggered by an event. Learn more
Button flows Run repetitive tasks from anyplace, at any time, via a flow app on your mobile device. Learn more
Scheduled flows Create a flow that performs one or more tasks on a schedule. Learn more
UI flows Record and automate the playback of manual steps on legacy software. Learn more

Classic Common Data Service processes

You can also use the classic Common Data Service processes, which are workflows and actions. More information: Power Automate: Use Workflow processes and Power Automate: Actions overview.

See also

Apply business logic in model-driven apps