Business rule use cases
Use cases for business rules include aborting a database action and restricting record access.
- Abort a database action
You can use a before business rule script to cancel or abort the current database action using the current.setAbortAction(true) method. - Restricting record access
You can use a query business rule that executes before the database query to prevent users from accessing certain records.
Parent Topic:Useful scripts