How do you get the output of a workflow using the REST API?
In the below example I ran the Invoke an external script workflow to call an external powershell script that connects to a vCenter and gets a listing of all hosts. The output is visible in the Orchestrator client, but what format does the object need to be converted into to be seen in the output in the API?
I would like to be able to execute a workflow through the API to retrieve data in JSON, and display that in an external web page. Does anyone have any example workflows that would do this?