Script Elements for Workflows and Tasks in Workflows
You can use scripts to manage workflows and retrieve information and activation data about tasks in workflows.
Information about the Top Workflow
-
SYS_ACT_TOP_NAME
Returns the name of the top workflow
Predefined variable: &$TOP_PROCESSFLOW_NAME# -
SYS_ACT_TOP_NR
Returns the RunID of the top workflow
Predefined variable: &$TOP_PROCESSFLOW_RUNID#
Information about a Parent or Superordinate Task
-
GET_PARENT_NAME
Returns the name of parent task -
GET_PARENT_NR
Returns the RunID of the parent task -
GET_PARENT_TYPE
Returns the object type of the parent task -
SYS_ACT_PARENT_NAME
Returns the name of a superordinate task
Predefined variables: &$ACTIVATOR#, &$PROCESSOR# -
SYS_ACT_PARENT_NR
Returns the RunID of the superordinate task
Predefined variables: &$ACTIVATOR_RUNID#, &$PROCESSOR_RUNID# -
SYS_ACT_PARENT_TYPE
Returns the object type of the superordinate task
Predefined variables: &$ACTIVATOR_TYPE#, &$PROCESSOR_TYPE#
Information about a Preceding Task
The following functions retrieve details of the task preceding the current task.
-
SYS_ACT_PREV_NAME
Returns the name of the previous task in the workflow -
SYS_ACT_PREV_NR
Returns the RunID of the previous task in the workflow
Information about the Current Task
The following functions retrieve details of the task that the script is written in.
-
SYS_ACT_ME_NAME
Returns the name of the current object -
SYS_ACT_ME_NR
Returns the RunID of the current object
Predefined variable: &$RUNID# -
SYS_ACT_ME_TYPE
Returns the object type of the current object
Predefined variable: &$OBJECT_TYPE#
-
SYS_ACT_PTTYP
Returns the partner type of the user that a Job is run by
Predefined variable: &$PARTNER_TYPE# -
SYS_ACT_USERID
Returns the User ID that a job is run by from the Login object
Modify a Workflow
-
:REPLACE_STRUCTURE
Replaces the content of a workflow with the content of another workflow
See also: