XaaS workflow not Returning Output via API call
search cancel

XaaS workflow not Returning Output via API call

book

Article ID: 415784

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • An Orchestrator workflow is added as an XaaS catalog item in Service broker, which is configured to provide an output, and it is being requested via API 

  • Running the workflow manually in Orchestrator provides the expected outputs

  • Running the XaaS as a Day 2 action in Automation return the Outputs as a property in the Deployment
  • The following APIs are called to make the request and get the details from the deployment:
         Get catalog item: GET /catalog/api/items/{catalog-item-id}
         Request catalog item: POST  /catalog/api/items/{catalog-item-id}/request
         Get deployment: GET /deployment/api/deployments/{deployment-id}
         Get deployments request: GET /deployment/api/requests/{request-id}

  • The details returned contains the inputs, but no outputs are returned

 

Environment

Aria Automation 8.x

Resolution

Add the ?expand=resources option to the GET request for the deployment to retrieve the Output

  1. Get the details of the deployment with the following API:
    GET /deployment/api/deployments/{deployment-id}?expand=resources