Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The execution order is shown and described below:


Image Modified


Note

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

...

  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.

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:

Image Added


Column
width75%


Note

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



Column
width25



  1. Before business rules (where When is Before and Order is less than or equal to 1000).
    1. Assignment rules
  2. Before engines.
  3. Before business rules (where When is Before and Order is greater than 1000).
  4. Database transactions (insert / update / delete records).
  5. Record field changes logging (to the History (sys_history) table).
  6. Configuration pack engine operations.
  7. After business rules (where When is After and Order is less than or equal to 1000).
  8. After engines:
    1. Approval Engine
    2. Workflow
    3. Notifications
  9. After business rules (where When is After and Order is greater than 1000).

After insert/update/delete

...