Executing the create-csg-hcp-infrastructure workflow with the "model" key in the input payload results in an unexpected error that is not communicated to the user. The workflow should return a clear error message indicating that the "model" key is missing from the input payload.
The error is as follows:
Error: run step Call_Prepare_CSG_Infrastructure: parallel action execution failed: subflow failure: runId: ########-####-####-####-############, message: child workflow execution error (type: VMware:prepare-csg-hcp-paylaod:0.1.0, workflowID: ########-####-####-####-############, runID: ########-####-####-####-############, initiatedEventID: 166, startedEventID: 167): run step Read_Template_Details: run step Read_Template_Details: evaluate expression: expected a string for object key but got: null (type: wrapError, retryable: true): run step Read_Template_Details: evaluate expression: expected a string for object key but got: null (type: wrapError, retryable: true): evaluate expression: expected a string for object key but got: null (type: wrapError, retryable: true): expected a string for object key but got: null (type: objectKeyNotStringError, retryable: true)
TCA 3.2
To be resolved in a future version of TCA.
Workaround:
To resolve this issue, please replace the prepare-csg-hcp-paylaod.yaml file with the attached version. This updated file contains the necessary corrections to ensure proper error handling and user communication.
Note: The original create-csg-hcp-infrastructure.yaml workflow should not be executed.