ScriptEigener Objekttyp in der Automation Engine Function: Returns the name of the own object
Syntax
SYS_ACT_ME_NAME()
Return code |
---|
Name of the object in which this script function is called |
Example
A job's name and status 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 element | Description |
---|---|
Returns the run number (RunID"Kurzform für ""laufende Nummer"". Hierbei handelt es sich genauer um eine Zahl, welche die Durchführung einer Aufgabe eindeutig kennzeichnet. Die RunID kann zwischen 7 und 10 Stellen aufweisen. Sie wird von der Komponente Automation Engine vergeben.") of the own object | |
SYS_ACT_ME_TYPE | Returns the object type of the own object |
Script Elements - Activation Data
Sample Collection:
Retrieving Error Message and Number
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function