Script function SYS_ACTIVE_COUNT returns 0 when selecting specific Agent and Object type
Article ID: 87595
CA Automic Workload Automation - Automation Engine
AUTOMIC WORKLOAD AUTOMATION
Error Message :
N/ASYS_ACTIVE_COUNT fails if a specific agent name has been set and always returns 0.
- Start a long running job (i.e. Job JOBS.WIN.LONGRUN on Agent VWGSUP15_WS112_X32_03_SYS)
- Execute a script containing these lines:
:SET &COUNT# = SYS_ACTIVE_COUNT(ANY_ALIVE, "JOBS", JOBS.WIN.LONGRUN,,NB030148)
- In the report the result will be 0 although one Job is running.
Root Cause: SYS_ACTIVE_COUNT did not work if a specific agent name has been set. SYS_ACTIVE_COUNT always returns 0.
Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.
Fix Status: Released
Automation Engine 12.0.0 - Available
Automation Engine 11.2.3 - Available
Automation Engine 11.1.5 - Available