I am trying to build a Widget for Experience Builder to integrate with Workflow Manager.
My problem is that I can't figure out how to update the step with the result from the user via the REST API.
I can:
- 'Run' a 'Update Job Properties' step via the '/${workflowItemId}/jobs/${encodeURIComponent(selectedJobId)}/action' end point,
- Update the Job Properties values via the '/${workflowItemId}/jobs/${encodeURIComponent(selectedJobId)}/update' end point
But when I try to 'Finish' the step, I get a 'WaitingForInfo' response.
{
"success": false,
"stepResponses": [
{
"stepId": "c764e20c-8d5e-4b1d-b043-9e09e30485d0",
"status": "WaitingForInfo",
"statusDescription": "The step is waiting for information"
}
]
}
It looks like I need to post something to the step itself, but I can't find what in the documentation.
Any help would be greatly appreciated.