Script Function: Determines if a task was activated in a workflow"Permet d'ajouter, regrouper, associer, caractériser ou supprimer les tâches d'un workflow. Egalement un type d'objet propre à Automation Engine. [Anciennement appelé ""chaîne de traitement"" et ""chaîne de job"".]".
Syntax
SYS_ACT_JP()
Return codes |
---|
"Y" - Task was activated by a workflow |
Example
In this example, a task was started manually. Therefore, the return code is "N" and "Task does not run in a workflow" is printed in the activation report.
:SET &RET# = SYS_ACT_JP()
:IF &RET# = "Y"
: PRINT "Task runs in a workflow"
:ELSE
: PRINT "Task does not run
in a workflow"
:ENDIF
See also:
Script element | Description |
---|---|
Returns the name of a superordinate task. | |
SYS_ACT_PARENT_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 a superordinate task. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function