PUT_ATT not changing value when utilizing GET_ATT

book

Article ID: 87683

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

When setting an attribute in an object via the PUT_ATT script command, using GET_ATT would not properly set the correct value.

Investigation

For an example of this behavior:

Workflow has Queue "CLIENT_QUEUE", Script has queue "CHILD_QUEUE", 

1) Workflow Script: 

:PUT_ATT CHILD_QUEUE = GET_ATT(QUEUE) 
==> Script runs in "CHILD_QUEUE" 


2) Workflow Script: 

:PUT_ATT CHILD_QUEUE = "CLIENT_QUEUE" 
==> Script runs in "CLIENT_QUEUE"


The behavior in example 1 has been resolved.
 

Cause

Cause type:
Defect
Root Cause: PUT_ATT did not work in combination with GET_ATT like: :PUT_ATT CHILD_QUEUE = GET_ATT(QUEUE)

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

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

Fix Version(s):
Automation.Engine 12.0.1 - Available
Automation.Engine 11.2.4 - Available

Additional Information

Workaround :
Split the GET_ATT and PUT_ATT into two seperate script statements::SET &QUEUE# = GET_ATT(QUEUE) :PUT_ATT CHILD_QUEUE = "&QUEUE#"