Action ROC - Update string Parameter fail with error "Cannot find parameter"
search cancel

Action ROC - Update string Parameter fail with error "Cannot find parameter"

book

Article ID: 235294

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

"ROC - Update string Parameter" fails to update parameter with error:

However the parameter does exist. Other actions such as "Set Parameter Value - String" updating the same parameter do complete well.

Environment

Release : 5.x, 6.x

Component : CA Release Automation

Cause

There are a number of conditions that need to be satisfied in order to let the "ROC - update .... parameter" actions succeed

Resolution

Following conditions need to be met, given following parameters of the action:

  1. The Step's stage should be different than the stage the action actually runs in, so when the Step's stage is Deployment, the action should run in pre-Deployment. 
  2. The parameter specified should be of type User Input
  3. The parameter should be referenced in the Process that is invoked by Step Name
  4. The Parameter Name should list the fully qualified parameter name excluding the qualifiers already listed in Step Name and Server Type name. E.g. is the parameter name is defined as:

The action has filled in parameters for Step Name (referring to process2) and Server Type Name, so the Parameter Name to refer to is the remaining part: Default Component/sParm2. Then the full qualified name evaluated by the system during execution would be process2/Server Type 1/Default Component/sParm2.