Script Function: Determines if a task was activated in a workflow.
SYS_ACT_JP()
Return codes |
---|
"Y" - Task was activated by a workflow |
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) of a superordinate task. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function