SYS_ACT_ME_LNR

Use the SYS_ACT_ME_LNR script function to retrieve the sequence number of the task in which the script is called.

Syntax

SYS_ACT_ME_LNR ()

Example

In the following example, the script that contains the SYS_ACT_ME_LNR function is the 7th task in the Workflow. When the task executes, the script returns the number 7, and prints the phrase The sequence number of the task is 7 in the activation report of the task.

:SET &LNR# = SYS_ACT_ME_LNR()
:
PRINT "The sequence number of the task is &LNR#"

See also:

seealso

Script Elements for Handling Tasks

Script Elements for Workflows and Tasks in Workflows