SYS_ACT_ME_TYPE

Use the SYS_ACT_ME_TYPE script function to retrieve the object type of the current task (the task that calls the script). The script function returns the short form of the object type. For more information about object types, see Object Types.

Syntax

SYS_ACT_ME_TYP[E] ()

Example

A Job contains the following script:

:SET &RET# = SYS_ACT_ME_TYPE()
:
PRINT "The object type is: &RET#"

When the Job runs, the script prints a message with the object type of the task in the activation report:

2018-11-22 16:32:21 - The object type is: JOBS

See also:

seealso

Script Elements for Handling Tasks

Script Elements for Workflows and Tasks in Workflows