Script Function: Returns the number of jobs that are registered in groups
Syntax
SYS_STATE_JOBS_IN_GROUP([Job], [Group])
Syntax |
Description/Format |
---|---|
JobTraitement sur un système cible. Egalement un type d'objet distinct dans l'Automation Engine. |
Name of a job |
Group |
Name of a group |
Return code |
---|
Number of jobs registered for groups |
Comments
This functions retrieves the number of jobs which show the status "Registered". The parameters may to used to selectively indicate a particular job or group whose number should be retrieved.
Example
The first example retrieves all registered jobs.
:SET &ACTIVE# = SYS_STATE_JOBS_IN_GROUP()
The second example supplies all jobs registered for the group "MM.GROUP".
:SET &AKTIV# = SYS_STATE_JOBS_IN_GROUP(,"MM.GROUP")
See also:
Script element | Description |
---|---|
SYS_STATE_ACTIVE | Checks if an object has already been activated |
Checks if a job has already been activated | |
SYS_STATE_JP_ACTIVE | 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 |
Script Elements - Activate Objects
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function