You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

In SimpleOne, the execution of business rules, workflows, notifications, engines is bound to database operations. 

The execution order is shown and described below:


Please note that rules and engines marked red on the scheme and respectively listed below are affected when using the Silent Load functionality.

Before insert/update/delete


 The processing of the following elements is bound to the transaction BEGIN SQL statement:

  1. ACL
  2. Domain events: filling the Order and Number field in relevant records, adding column prefixes where appropriate.
  3. Business rules:
    1. Rules with When = before and Order <=1000.
    2. Rules with When = before and Order >1000.
  4. Validation (is skipped for delete).
  5. Database transaction (insert/update/delete).
  6. Save REM.

After insert/update/delete


 The execution of the following elements is bound to the transaction COMMIT SQL statement:

  1. Infrastructure events (include processing of History, Activity Feed, Create VCS Records, Execute REM After Scripts).
  2. Engines:
    1. Business rules with When = after and Order <= 1000.
    2. Approvals
    3. Workflow
    4. Notifications
    5. Business rules with When = after and Order > 1000.



  • No labels