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 |
---|
Short form of the object type |
Comments
This script function first searches the object in the client in which the script is processed and then in system client 0000.
The script statement :ON_ERROR may be used to determine the reaction to an erroneous object name. The error may be analyzed using the script functions for error handling. Script processing continues but may also be canceled if required.
Example
The following example returns "JOBP" because MM.DAY is a workflow.
:SET &OBJECT_TYPE# = GET_OBJECT_TYPE("MM.DAY")
See also:
Script Elements - Reading or Modifying Objects
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function