The scope of business rule can be either ‘Entity’ or ’All Forms’. When we select the scope as ‘Entity’, it executes at server side. The business rule fires whenever that entity is created or saved either from the form inside CRM or from any web application.
The scope ‘All Forms’ is selected when the business rule is to be executed at client side. In that case, the business rule is fired when the form is loaded or updated only at the client CRM form. Read more here.
- One of the limitations of business rules is that they are not executed during bulk edits and imports.
- Also business rules are launched in the order they are activated. So one has to know all the business rules and the order in which they are to be executed in an entity.
- The number of If…Else statements in a business rule is limited to 10.
- A business rule can be acted only on the fields of local entities and not on the fields like look up of related entities or parent entities. Also business rules can’t interact with tabs and sections.
Setting Business Rules in MS Dynamics CRM:
To view the Business Rules, you can login to your MS Dynamics CRM page and select the appropriate option (for example Sales> Contact). Then select the entity and click New> Form> and click on Business Rules. You can view all the previously created business rules. Example given below.
For creating a new business rule, you can click on the ‘New Business Rule’ option on the bottom right corner of the screen. As illustrated in the first two screenshots, you can follow the instructions given and set the business rules as needed for fulfilling your business purposes.
Keep watching this space for more blogs that analyze various interesting features of MS Dynamics CRM and also Dynamics 365.
Contact us to know more about Suyati’s MS Dynamics CRM expertise.
- A Quick Glance at MS Dynamics 2016
- Advantages of Microsoft Dynamics CRM
- Case Management in MS Dynamics CRM 2016- Part 1
- Case Management using MS Dynamics CRM- Part II
About the Author:
Manju Augustine is currently working as a Software Developer at Suyati Technologies. She is part of the MS Dynamics CRM team at Suyati, and is proficient in MS Dynamics CRM as well as ASP.NET platforms. She likes to explore the latest in technologies and also loves listening to songs and playing Badminton.