Script Function: Returns the object typeAn individual object is provided for the individual activities: There are User, UserGroup, Notification, Cockpit, CodeTable, Documentation, Event, Agent, FileTransfer, Group, Include, Job, Workflow, Calendar, Login, Client, RemoteTaskManager, Schedule, Script, Server, Sync, Variable and TimeZone objects of the own objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task.
SYS_ACT_ME_TYPE()
Return code |
---|
Short form of the object's object type in which the scriptA particular Automation Engine object type. functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… is called. |
This script function supplies the object type (short name) of the own object.
In this example, SYS_ACT_ME_TYPE is used in the script of a jobAn Automation Engine object type for a process that runs on a target system. and return codeThe value that represents the result of tasks and script functions. "JOBS" is printed in the activation reportA report provides more detailed information about a task's execution or a component..
:SET &RET# = SYS_ACT_ME_TYPE()
:PRINT "The object type is: &RET#"
See also:
Script element | Description |
---|---|
Returns the name of the own object |
|
Returns the run number (RunIDShort for "run number". It is a number that provides unique information about a task's execution. The RunID can include 7 to 10 digits. It is assigned by the Automation Engine component .) of the own object |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |