Business rules in Visual Builder Cloud Service (VBCS) allow to validate Business Objects data as well as to fire an event when data is inserted into the BO.
There are five types of Business Rules that exist in VBCS:
- Object Triggers
- Field Triggers
- Object Validators
- Field Validators
- Object Functions
Used to specify the sequence of actions that start when a specific event occurs. t’s like a database trigger.
For example: Insert or update the record when a new record is inserted
Used to specify the condition on the fields that are applied whenever a business object field changes in value.
For example: Send an approval email if the amount > 100 dollars.
Used to validate the record before you insert it into the custom business objects.
For example: Insert the record only if the amount > 0 and Employee ID!=null.
Used to validate the particular field in the custom business object.
For example: Create employee only if employee age > 18.
Used to write the custom function.
For example: Get the total number of users basis on the name.
Check the below YouTube video to know more about Business Rules in Visual Builder Cloud Service.
Subscribe to my YouTube channel to get regular updates.