GET_OH_IDNR

Script function: Supplies an object's internal number.

Syntax

GET_OH_IDNR (Object Name)

Syntax

Description/Format

Object name

Name of the object
Format: script literal or script variable

Important! As of v11, you can only query an OH_IDNR from the same client. Trying to access a different client results in an error message in the message window, and returns an invalid OH_IDNR.

Return code

Object's internal number

"0" - The object does not exist.

Each object obtains an internal number when it is created.

Example

The following example supplies the internal number of the object "MM.DAY".

:SET &RET# = GET_OH_IDNR("MM.DAY")

See also:

seealso

Script Elements for Workflows and Tasks in Workflows