Triggers: Difference between revisions

14 bytes added ,  7 October 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 102: Line 102:
: Get the entry of the Event. For example, if script is triggered by an Update Entry event, this function will return the entry being updated.
: Get the entry of the Event. For example, if script is triggered by an Update Entry event, this function will return the entry being updated.
   
   
: This function is available to all Events and Phases, with the exception of "Creating a file > Opening an Entry Edit card for add"; for this action, use the function entryDefault().
: This function is available to all Events and Phases, with the exception of '''Creating a file''' > '''Opening an Entry Edit card for add'''; for this action, use the function ''entryDefault()''.


:; Result: [[#Object entry|'''Entry object''']] — the current entry
:; Result: [[#Object entry|'''Entry object''']] — the current entry