SYS_ACT_PTTYP()
Return codes |
---|
"D" - Activation through UserInterfaceThis is the Automation Engine's graphical user interface. [Formerly called the "Rich Client", "RichGUI" and "Dialog Client."] |
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,… determines how a taskAn executable object that is running. Tasks are also referred to as activities. is activated.
When you use this function in post processing or when the option "Generate at runtimeThe duration of a task's execution. It refers to the period between a task's start and end. It does not include its activation period (see also: activation and start)." is set, the system will supply an empty return codeThe value that represents the result of tasks and script functions..
This example shows the line that is written to the activation reportA report provides more detailed information about a task's execution or a component. if a task has been activated by a CallAPI.
:SET &PTTYP# = SYS_ACT_PTTYP()
:IF &PTTYP# =
"C"
: PRINT "Task was activated
through CallAPI."
:ENDIF
See also:
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 |