SYS_ACT_JP

Script Function: Determines if a task was activated in a workflow.

Syntax

SYS_ACT_JP ()

Return codes

"Y" - Task was activated by a workflow
"N" - Task was not 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

SYS_ACT_PARENT_NAME

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