Resume a paused flow
Before pausing or resuming your flow, make sure that the security settings are correct. For more information about setting security levels on an API Endpoint flows, see Invoking an API endpoint flow.
Once your security level is appropriately set, you have two options to resume your flow, depending on your security setting.
To resume your flow using either option, you must pass along an execution ID. You can get this ID from the flow's execution history, or under the context object that is returned when you invoke a flow.
A flow cannot be resumed if it is nested within any card.
Exposed as a Webhook
To resume a flow as an exposed Webhook:
- In the API Endpoint Settings dialog, copy the URL that is in the Resume URL field.
- Perform a GET/POST on that URL, depending on if you need to pass along data in the body of that request. The URL also requires an execution ID.
- If the client token is not appended to the URL that's in the Invoke URL field, pass along the client token as a query parameter.
Exposed as a Public Service
To resume a flow as a public service:
- In the API Endpoint Settings dialog, copy the URL that is in the Invoke URL field.
- Perform a GET/POST on that URL, depending on if you need to pass along data in the body of that request. The URL also requires an execution ID.
Upon resuming the flow, you'll get back the final output of your flow as the response. Additionally, the rest of the flow will run as normal when resumed.