Select to view content in your preferred language

Workflow Manager REST APIs

68
0
Thursday
IanTidy-ET
Esri Contributor

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:

  1. 'Run' a 'Update Job Properties' step via the '/${workflowItemId}/jobs/${encodeURIComponent(selectedJobId)}/action' end point,
  2. 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.

Tags (2)
0 Kudos
0 Replies