SYS_ACT_ME_NAME

Script Function: Returns the name of the own object

Syntax

SYS_ACT_ME_NAME()

Return code

Name of the object in which this scriptEgalement un type d'objet distinct dans l'Automation Engine. 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

SYS_ACT_ME_NR

Returns the run number (RunIDAbréviation du numéro d'identification unique. Il s'agit plus précisément d'un nombre qui identifie clairement l'exécution d'une Tâche. Le RunID peut comporter entre 7 et 10 caractères . Ils sont attribués par le composant Automation Engine.) 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