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:
Please note that rules and engines marked red on the scheme and respectively listed below are affected when using the Silent Load functionality.
- Before business rules (where When is Before and Order is less than or equal to 1000).
- Assignment rules
- Before engines.
- Before business rules (where When is Before and Order is greater than 1000).
- Database transactions (insert / update / delete records).
- Record field changes logging (to the History (sys_history) table).
- Configuration pack engine operations.
- After business rules (where When is After and Order is less than or equal to 1000).
- After engines:
- After business rules (where When is After and Order is greater than 1000).