...
By default there are three functions:
- Startup: is executed once when the JavaScript Unit is triggered after the Project is set into running state.
- Shutdown: is executed when the "execute" function is doneWorkflow stops executing (e.g. when the Project stops).
- Execute: is executed after the "startup" functionwhen the JavaScript Unit is triggered.
Using Project Variables
Project Variables can be used globally in certain Units (JavaScript, Shell Command). To use a Project Variable, enclose the Variable name in '$', for example "$myVariable$".