SYS_ACT_ME_LNR

Script Function: Returns the placement number of a task in a workflow

Syntax

SYS_ACT_ME_LNR ()

Return code

Placement number of the task in which this script function is called.

Example

In this example, SYS_ACT_ME_LNR is used in the script of a job which is the assigned as a task in a worklfow. When the workflow runs, "The task LNR is: 0000000007" is printed in the activation report to show that the placement order of the task is 7.

:SET &LNR# = SYS_ACT_ME_LNR()
:
PRINT "The task LNR is: &LNR#"

See also:

Script Elements - Activation Data

Sample Collection:
Retrieving Error Message and Number

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function