GET_OBJECT_TYPE
Script function: Returns a task's object type
Syntax
GET_OBJECT_TYPE (Object name)
Syntax |
Description/Format |
---|---|
Object name |
Name of the object whose type should be retrieved |
Return codes |
---|
|
This script function first searches the object in the client in which the script is processed and then in system client 0000.
Tip: Use the :ON_ERROR script statement to define action to take if the object does not exist. For more information, see Script Elements for Error Handling.
Example
The following example returns "JOBP" because MM.DAY is a workflow.
:SET &OBJECT_TYPE# = GET_OBJECT_TYPE("MM.DAY")
See also: