Scripting Pages
Process pages can be used to write AE Script. One or several of them are available in every executable object.
The following list gives a comprehensive overview of all scripting (Process) pages:
The particular point in time for script processing depends on the option Generate at runtime (Attributes tab). If this option is not checked, the script is processed immediately when the object starts. If "Generate at runtime" is activated, however, the script is only processed when the object is being executed.
Start and execution time of an object are not necessarily the same (for example, if an earliest start time has been specified).
- Pre and Post Process Tab (file transfer, job and RemoteTaskManager)
Jobs additionally comprise of a pre and post-process scripting tab. These tabs are usually processed as follows: The pre-process starts off, followed by the regular script. The particular point in time depends on whether the setting "Generate at runtime" is activated. Post-script processing starts when the job has ended (see also: Stages of Workflow Processing). The file transfer and RemoteTaskManager both only contain a Post Process tab which has the same function as in jobs.
- Event Process page (event)
Whenever the event occurs, the Event Process page is processed.
Note that there is also an object type called "Script".
Each Process page can contain up to 32767 lines. However, you should make sure that your script doesn’t generate more than 1000 JCL lines, as this would cancel the generation of the script. If your script generates more JCL lines, you can change this limit using the script statement :PUT_ATT, attribute MAX_JCL_LINES.