Introduction
In Dynamics 365 CRM or Power Platform, Business rules provide a quick way of applying business conditions every business rule starts with a condition. In this article, we are going to see about two Actions Set Default Value and Set Field Value with a business scenario on contact entity if Vaccination is done, then a discount of 50% is given to contact else no discount.
Step 1
Login to the required Dynamics CRM/ Power Apps environment using URL make.powerapps.com by providing user name and password and go to solutions as shown in the below figure.

Step 2
After step 1, the select custom solution here selects ContactCustomizations custom solution as shown in the below figure.

Step 3
After step 2, in ContactCustomizations custom solution open Contact Entity and then click on the Business Rules tab and then Click on Add business rule as shown in the below figure.

Step 4
After step 3, a new Business rule window gets opened, provide Business Rule name and meaningful description and provide condition if Vaccination field have yes as shown in the below figure.

Step 5
After step 4, if the Vaccination value is yes then drag and drop Set Field values against to Condition and then keep Set Field Value for Discount field as 50. If Vaccination is not taken then keep another condition and verify if Vaccination value is No or None set Field Value for Discount field as 0 as shown in the below figure.







Join the conversation! Your thoughts help the community grow.