How can I get output of Workflow?
Hi,
I'm using this endpoint to invoke a workflow: http:/{localURI}/api/workflow/WorkflowBasic?version2&correlationId=1
And using this endpoint to get the workflow (here I can see the status of execution and the output data): http:/{localURI}/api/workflow/6de14451-8b86-49af-bb19-fdc36758f0fc
I need invoke a workflow and, when this is completed I would liked get output of this workflow. This is possible? How can I do this?
Has anyone had this need at some point?
Tks
Output of the workflow is by default the output of the last executed task. Incase you need specific outputParameters - include outputParameters attribute in the workflow.
outputParameters : {
key : "
Hi there! @sudvarma, my workflow works fine and he implement the field "outputParameters". This is not the question. The question is: How can I get the result of execution? Because I need a execution synchronous, and I know, the pattern execution of workflow is asynchronous. How can I do this?
Closing this issue, the functionality is impossible on Conductor.
The popular pattern is to poll for the Workflow status until it has completed.