File transfer job returns 'Access Denied' when using a variable for agent hostgroup but succeeds if you use the same hostgroup instead of a variable.
U00000009 'HOSTG.WIN': Access denied
- Create hostgroup containing agent A.
- Create JOBF.
- Transfer file from Agent A to Agent B.
- File transfer succeeds.
- Add variable to JOBF using "Variables & Prompts.
- Set Name as &DST_AGENT and Value to HOSTG.WIN.
- In File Transfer tab, replace Destination agent with &DST_AGENT
Expected:
- File transfer succeeds
Actual:
- File transfer fails -FAULT_OTHER - Start impossible. Other error.
U00000009 'HOSTG.WIN': Access denied
Refer to the execution stages of a job.
This is not possible directly, because the variables need to be already resolved with the correct hosts (not hostgroups) before the script is generated.