Automation Engine Script Guide > Ordered by Function > Read or Modify Objects > GET_OH_IDNR

GET_OH_IDNR

Script functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,…: Supplies an objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task's internal number.

Syntax

GET_OH_IDNR(Object name)

Syntax

Description/Format

Object name

Name of the object
Format: script literal or script variable

As of version 11 this scriptA particular Automation Engine object type. function has been changed, so that one parameter is available. Trying to define more than one parameter results in an error message.

Return code

Object's internal number

"0" - The object does not exist.

Comments

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:

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH