SYS_STATE_JP_ACTIVE

Script Function: Checks if 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"".]" has already been activated

Syntax

SYS_STATE_JP_ACTIVE([Workflow])

Syntax

Description/Format

WorkflowLes workflows sont utilisés pour effectuer des déploiements physiques. Un workflow décrit toutes les étapes nécessaires au déploiement de votre application. Votre application étant composée de différents éléments, le niveau le plus élevé du workflow (workflow d'application) représente l'architecture de votre application, et les workflows de composants sont utilisés pour déployer chacun des composants. Vous pouvez définir votre workflow de composants rapidement grâce à des actions prédéfinies.

Name of a workflow.
Format: AE name, script literal or script variable


Return codes

"Y" - The workflow is in a status with system return code < 1699 or 1701.
"N" - The workflow is in a status with system return code > 1699 and not 1701.

Comments

This scriptEgalement un type d'objet distinct dans l'Automation Engine. function checks whether the specified workflow is in a status with a system return code that is below 1699 or equals the return code 1701. If none of the two parameters is specified, the function checks the object in which it is used.

The verification takes place while the script line that contains this function is being processed. A negative result does not inform whether the object will be activated later. Therefore, you cannot use this function to synchronize processes. The information that this script function supplies about object states is only valid for a limited period of time.

Examples

The following example checks whether the workflow FI.DAY.SET is active. The name of the workflow is assigned through a script variable.

:SET &JP# = "FI.DAY.SET"
:
SET &ACTIVE# = SYS_STATE_JP_ACTIVE(&JP#)

See also:

Script element Description

SYS_STATE_ACTIVE

Checks if an object has already been activated.

SYS_STATE_JOB_ACTIVE

Checks if a job has already been activated.

SYS_STATE_JOBS_IN_GROUP

Returns the number of jobs that are registered in groups.

Script Elements - Activate Objects

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function