Write, Bureaucrats, Administrators
4,332
edits
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
== Event that initiates execution of the trigger == | == Event that initiates execution of the trigger == | ||
The launch of the trigger is defined by two parameters: | The launch of the trigger is defined by two parameters: | ||
; | ; Action | ||
: is any user | : is any action preformed by the user on an entry. | ||
; Phase | ; Phase of an action | ||
: | : a subdivision, or specific step, of an action. A trigger can be fired during a phase of an action. Each action type can have a different set of phases. | ||
=== | === Script execution === | ||
The phase | The phase that activates the trigger also defines how the trigger will be executed — synchronously or asynchronously. | ||
; | ; Synchronous script execution | ||
: | : implies the application suspends user interaction and executes the script. It is not recommended to perform time-consuming operations in this case. | ||
; Asynchronous script execution | ; Asynchronous script execution | ||
: | : results in the script running in the background; user interaction is not suspended. Usually, asynchronous scripts are used in the last phases of the action. | ||
== Security == | == Security == |