ROC - Update Collection Environment Parameter In Deployment action not updating parameters value

book

Article ID: 197688

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

We have an action i.e. "Update Collection environment parameter in deployment" which we are running in pre-deployment step with below parameter values as json
[
    {"serverIP":{"simpleValue":"10.10.1.10"},"userID":{"simpleValue":"test1"},"password":{"simpleValue":"*****"},"serverType":{"simpleValue":"S-1"}},
    {"serverIP":{"simpleValue":"10.10.1.11"},"userID":{"simpleValue":"test2"},"password":{"simpleValue":"*****"},"serverType":{"simpleValue":"S-2"}}
]
 
Parameter Name: MySQL/ServerCredential

The action execute fine but the parameter values are not getting updated in environment variables.
 
Why are environment parameter values not getting updated?
How to use the action to update parameter value?

Cause

As per analysis the identified cause for this issue is that in the Environments => Parameter Configuration, which is just a place holder. As the parameter isn't initialized so the action fails to update the value. 

Environment

Release : 6.6, 6.7

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Resolution

We need to set some default value to above parameters in Environments => Parameter Configuration so that the action "Update Collection environment parameter in deployment" running can overwrite the values. As the parameter is already initialized the action will update it successfully. 

For example we have set "default" as value for all the parameters

Running the action now with above value will be able to successfully set the environment parameter values.

Attachments