GET_UC_OBJECT_NR

Use the GET_UC_OBJECT_NR script function to retrieve the RunID of an activated executable object.

Syntax

GET_UC_OBJECT_NR (Object Name)

Parameter

Return Codes

The script function returns the following codes:

Example

The following example uses the GET_UC_OBJECT_NR function to check whether or not the task is active. If the task is inactive, the function returns a blank and the script sends an error message.

:SET &RunID = GET_UC_OBJECT_NR(&task#)

:
IF &RunID = ""
:   
STOP MSG,50,"&task# is not active!"
:
ENDIF

See also:

seealso

Script Elements for Workflows and Tasks in Workflows