Business rules are a component of Common Data Service and have two purposes. The first way that business rules are used is within model-driven app forms, to change how fields are displayed. The second way that business rules are employed is at the data layer to validate data and calculate values.Â
There are many occasions when minor changes need to be made to the form at runtime – for example, setting a field value or hiding a field. You can control form fields in JavaScript, but this requires specialist skills. Business rules were introduced to make simple form manipulation achievable without the need for such developer skills.
Business rules have been extended further to allow you to apply business logic, both in the client app and on the data platform, without the need to write code.
The client-side logic is immediate because the rules are executed when a user opens or updates a form, while the server-side logic applies when a user, or any process...