[AWA] PREP_PROCESS_AGENTGROUP does not return expected value

Document ID : KB000110160
Last Modified Date : 09/08/2018
Show Technical Document Details
Issue:
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
Environment:
Automic Workload Automation v12.1.2
Cause:
  • It is confirmed a bug with host group resolving.
Resolution:
  • It has been fixed in Automation Engine 12.1.3 which is planned to be released on 24-09-2018.