ScriptEigener Objekttyp in der Automation Engine Function: Returns the name of the previous job in a workflow
Syntax
SYS_ACT_PREV_NAME()
Return codes |
---|
Name of the preceding task |
Comments
Only tasks running in workflows must use this script function.
Only use this script function if there is exactly one previous task. If there is more than one predecessor, a runtime error occurs and the script is aborted.
Example
The name of the previous task within a workflow is printed in the activation protocol.
:SET &NAME# = SYS_ACT_PREV_NAME()
:PRINT "Name of the previous task is &NAME#."
See also:
Script element | Description |
---|---|
Returns the run number (RunID"Kurzform für ""laufende Nummer"". Hierbei handelt es sich genauer um eine Zahl, welche die Durchführung einer Aufgabe eindeutig kennzeichnet. Die RunID kann zwischen 7 und 10 Stellen aufweisen. Sie wird von der Komponente Automation Engine vergeben.") of a previous task in a workflow. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function