Script Function: Returns the number of jobs that are registeredThis is the status of a task that runs within a group and is waiting for its start. in groups
SYS_STATE_JOBS_IN_GROUP([Job], [Group])
Return code |
---|
Number of jobs registered for groups |
This functions retrieves the number of jobs which show the statusThis represents the condition of a task (such as active, blocked, generating). "Registered". The parameters may to used to selectively indicate a particular job or group whose number should be retrieved.
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 workflowAn object of the Automation Engine that can include several executable objects and which runs them in a specified order. [Formerly called "ProcessFlow" and "JobPlan."] has already been activated |
Script Elements - Activate Objects
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |