Script Function: Returns the name of the own objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task
SYS_ACT_ME_NAME()
Return code |
---|
Name of the object in which this 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 |
A jobAn Automation Engine object type for a process that runs on a target system.'s name and statusThis represents the condition of a task (such as active, blocked, generating). are queried in its Post-Process tab. If the job does not end normally (ENDED_OK - 1900), an email message will be sent to the support team.
:SET &NAME# =
SYS_ACT_ME_NAME()
:SET &STATUS# = GET_UC_OBJECT_STATUS()
:IF &STATUS# <
"1900"
: SET &OUT# = SEND_MAIL("smith@automic.at",,"Job aborts!","Job: &NAME# is
canceled!")
:ENDIF
See also:
Script Elements - Activation Data
Sample Collection:
Retrieving Error Message and Number
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 |