ScriptEigener Objekttyp in der Automation Engine Function: Determines if a task was activated in a workflow.
Syntax
SYS_ACT_JP()
Return codes |
---|
"Y" - Task was activated by a workflow |
Example
In this example, a task was started manually. Therefore, the return code is "N" and "Task does not run in a workflow" is printed in the activation report.
:SET &RET# = SYS_ACT_JP()
:IF &RET# = "Y"
: PRINT "Task runs in a workflow"
:ELSE
: PRINT "Task does not run
in a workflow"
:ENDIF
See also:
Script element | Description |
---|---|
Returns the name of a superordinate task. | |
SYS_ACT_PARENT_NR | 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 superordinate task. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function