[AWA] PREP_PROCESS_AGENTGROUP does not return expected value

book

Article ID: 110160

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

A script object to check for availability of hosts in a hostgroup does not always return correct/expected result with PREP_PROCESS_AGENTGROUP
Example script paragraph:
:SET &HND# = PREP_PROCESS_AGENTGROUP("&HOSTGROUP1#",,ALL)
:PROCESS &HND_SOAP#
: SET &STATUS# = GET_PROCESS_LINE(&HND_SOAP#,2)
: SET &HOST# = GET_PROCESS_LINE(&HND_SOAP#,1)
: P &HOST# &STATUS#
:ENDPROCESS
  • If the script paragraph comes alone, it returns correct agents' status
  • If the script comes in many paragraph, it returns incorrect or none result from the second paragraph

Cause

  • It is confirmed a bug with host group resolving.

Environment

Automic Workload Automation v12.1.2

Resolution

  • Solution:

    Update to a fix version listed below or a newer version if available.

     

    Fix version:

    Component(s): Automation.Engine

    Automation.Engine 12.0.7 - Available
    Automation.Engine 12.1.4 - Available
    Automation.Engine 12.3.0 - Planned release 2019-02-28
    Automation.Engine 12.2.2 - Planned release 2019-02-11