Scenario

The teacher of a class wishes to highlight some key student information to the school staff whenever they open a student's record. The following are the conditions and the corresponding messages the teacher wishes to be displayed:

The student navigates to the Contact entity and navigates to the Business Rules section:

Dynamics Solution

Here are the steps that the teacher needs to follow to set the aforementioned rules:

  1. Click the + Add button to create a new business rule. The business rule designer should open. Now, fill Field with Final year score, Operator with is less than, and Value with 50 to set the required condition:
Business rule scenario 1
  1. Click on the Apply button and, then, click on the +New button to add another rule to check the value of attendance:
Business rule scenario 1
  1. Note that as both the conditions need to be satisfied in this rule, Rule logic needs to be AND. After the rule is added, click on the Apply button. Then, click on the + Add button again to add an action statement for the condition. Select the Show Error Message action statement:
Business rule scenario 1

Now click on the Apply button. On doing so, the action should be added to the condition. In the preceding example, the message will appear on the Final year score field. If you desire to make the message appear on the attendance field as well, they can just add another action block in the same condition block.

  1. Now, click on the + Add button to add a new condition block. The new condition will act as an Else If condition to the condition that you added in the preceding steps and will only check for the Final year score field:
Business rule scenario 1

This is how it will look overall:

Business rule scenario 1
  1. Again, add an action statement for the new condition block. The action should again be of the same type, Show Error Message, and the message to be displayed should be Student performance is below the expected level:
Business rule scenario 1

Similarly, we can add conditions for the last block.