In SimpleOne, business rules, workflows, notifications, engines all run relatively to database operations. Generally, the execution order is important.
The execution order is shown below and listed as follows:
- Before business rules (where When is Before and Order is less or equal than 1000)
- Before engines:
- Assignment rules
- Before business rules (where When is Before and Order is greater than 1000)
- Database transactions (insert / update / delete records)
- Configuration pack engine operations
- After business rules (where When is After and Order is less or equal than 1000
- After engines
- Approval Engine
- Workflows
- Notifications
- After business rules (where When is After and Order is greater than 1000)