Specifying the attributes which when changed trigger the entity level validation
- Create the entity level validation with the required rule type
- Go to the Validation execution tab to select the condition when the rule should be fired. This is the place where we should select if changes to a particular attribute should fire the current business rule.
- This is shown in the below image
- We can select more then one attribute in the triggering attributes dialog.
- Firing execution only when required makes your application more performant.
No comments:
Post a Comment