Automation Engine Script Guide > Ordered by Function > Activation Data > SYS_ACT_ME_TYPE

SYS_ACT_ME_TYPE

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.

Syntax

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.

Comments

This script function supplies the object type (short name) of the own object.

Example

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

SYS_ACT_ME_NAME

Returns the name of the own object

SYS_ACT_ME_NR

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