SYS_ACT_PREV_NAME

Use the SYS_ACT_PREV_NAME script function to return the name of the task preceding the current task in a Workflow. The current task is the task that calls the script.

Important! Only use this script function when the following is true:

Syntax

SYS_ACT_PREV_NAME()

Return Codes

The script function has the following return codes:

Example

The following script retrieves the name of the task that precedes the task in which the script is called. The script prints the retrieved name in the activation report.

:SET &NAME# = SYS_ACT_PREV_NAME()
:
PRINT "Name of the previous task is &NAME#."

See also:

seealso

Script Elements for Handling Tasks

Script Elements for Workflows and Tasks in Workflows