Script Function: Returns the name of the previous job 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_PREV_NAME()
Return codes |
---|
Name of the preceding task |
Comments
Only tasks running in workflows must use this scriptEgalement un type d'objet distinct dans l'Automation Engine. function.
Only use this script function if there is exactly one previous task. If there is more than one predecessor, a runtime error occurs and the script is aborted.
Example
The name of the previous task within a workflow is printed in the activation protocol.
:SET &NAME# = SYS_ACT_PREV_NAME()
:PRINT "Name of the previous task is &NAME#."
See also:
Script element | Description |
---|---|
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 previous task in a workflow. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function