Executing Scripts
A Script object that is part of a workflow is processed at workflow activation time, provided the Generate Job at Runtime on the script Attributes page is not activated. During runtime, its status changes to Finished.
Runtime
If the Generate Job at Runtime checkbox is activated for the Script object:
- The runtime refers to the duration, from the start until the end time.
- In case of restarts, the runtime is always "0".
If the Generate Job at Runtime checkbox is NOT activated for the Script object:
- The runtime is always "0".
Synchronization and Maximum Number of Parallel Running Tasks
In executable objects, the system always checks Sync objects and the maximum number of parallel running tasks after they have been generated regardless of the Generate Job at Runtime setting. As there is no execution stage for Script objects, they end when they have been generated.
There is only one exception to this behavior: The defined Sync object actions and the verification of parallel running tasks take place prior to the generation stage if the option Generate Job at runtime has been activated. Otherwise, these settings do not have any effect.
See also:
About AE Scripts