Nuclos rule execution order: insert/update/delete/state change, final rules, subforms, object generation, user action, updateAfterExecution. |
Language: Deutsch · English
Which rule runs when? The order of API rules per action – create, edit, delete, clone, job, print.
On this page |
Overview of the order in which the API rules assigned to a BO run, depending on the action. |
UpdateRule (main BO) → mandatory checks main/subform → UpdateFinalRule (main BO).
Subform records are deleted along with the parent (from Nuclos 4.38 only with delete cascade on the reference attribute); DeleteRules run for subform BOs only with their own status model.
| Action | Order |
|---|---|
| Clone | Generate → GenerateFinal → form → save → Insert → InsertFinal |
| User action | CustomRule → (UpdateRule → UpdateFinalRule) |
| Object generation | GenerateRule → InsertRule → InsertFinalRule → GenerateFinalRule |
| PrintRule → PrintFinalRule | |
| Job | JobRule |
| REST service | CustomRestRule |
For user actions, |