SYS_ACT_PTTYP

ScriptEigener Objekttyp in der Automation Engine Function: It returns the partner type of the user.

Syntax

SYS_ACT_PTTYP()

Return codes

"D" - Activation through UserInterfaceVeralteter Begriff. Ersetzt durch: Automic Web Interface
"C" - Activation through CallAPIProgrammierschnittstelle, die entweder direkt oder aus einem anderen Programm aufgerufen werden kann, und ein Script im Automation Engine-System ausführt.
"A" - Activation through Java Application Interface / DeploymentDas Deployment einer einzelnen Applikationsrevision in eine Umgebung innerhalb einer einzelnen Aktivität. Descriptor

Comments

This script function determines how a task is activated.

When you use this function in post processing or when the option "Generate at runtime" is set, the system will supply an empty return code.

Example

This example shows the line that is written to the activation report 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