Line 152:
Line 152:
}
}
</syntaxHighlight>
</syntaxHighlight>
+
+
__Please note the following before adding additional calls to triggers:__
+
The rule is to have only 1 trigger call per business CRUD event, even when several actions are done in the same transaction.
+
As an example: When a new ticket is created with an already assigned user, only the TICKET_CREATE trigger is called, not additionally the TICKET_ASSIGNED trigger. It is job of the trigger to intercept also this case to scan if an assignement is done directly during creation and to execute its custom code.
+
=Conclusion=
=Conclusion=