SYS_ACT_PTTYP

Script Function: It returns the partner type of the user.

Syntax

SYS_ACT_PTTYP()

Return codes

"D" - Activation through UserInterface
"C" - Activation through CallAPIInterface de programmation pouvant être exécutée en direct ou à partir d'un autre programme, afin d'exécuter un Script dans le système AE.
"A" - Activation through Java Application Interface / Deployment Descriptor

Comments

This scriptEgalement un type d'objet distinct dans l'Automation Engine. 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