Template custom form: use of Request info field "Is deployment update action" as action input induces an error "Parameter with an error message was found: Field _isUpdateAction is not found. "
When mapping a boolean input of an external action to the following field: Request info fields -> "Is deployment update action", the following form error is encountered when the catalog item is opened:
Some data cannot be retrieved. If the problem persists, contact your system administrator. Failed request: <module>/<action>.; [22][instance_os.valueList][<module>/<action>] Parameter with an error message was found: Field _isUpdateAction is not found. Parameter: updateRequest;
Environment
VMware Aria Orchestrator 8.x
Cause
When we are in the context of catalog item, the request info field is not set at all and therefore the validation fails. In the context of day2 operation it is set to true or false.
Resolution
This issue will be resolved in VCF Automation 9.1
Please use this workaround in Aria Automation 8.x if you need to use _isUpdateAction as an input to a workflow:
Create a boolean (checkbox) field in the form and bind it to the request info field. This can be hidden so that it's not visible to users.
In the field which uses the action for external values, replace the input binding with the new field from step 1.
Now you can request the form as both Update Action and Catalog Item to verify that each case is covered.