Error Message :
It is not possible to use a PromptSet to define an Agent Group since the Agent Group is resolved before the prompt is evaluated.
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: No Fix
A script can be used on the pre process tab as follows::SET &IS_OVERWRITE_GROUP# = GET_OBJECT_TYPE("&OVERWRITE_AGENT#"):IF &IS_OVERWRITE_GROUP# = "HOSTG": SET &HND# = PREP_PROCESS_HOSTGROUP(&OVERWRITE_AGENT#,"*",BY_RULE): PROCESS &HND#: SET &OVERWRITE_AGENT# = GET_PROCESS_LINE(&HND#,1): SET &STATUS# = GET_PROCESS_LINE(&HND#,2): PRINT "HEADER: overwrite agent with agent from AGENTGROUP: >&OVERWRITE_AGENT#< - Status: >&STATUS#