Skip to main content

Continue an instance to the next state

POST 

/api/state-machine-instances/:instanceId/continue

Advances the instance through the transition matching the given condition (defaults to SUCCESS). The optional context is merged into the instance context and body is forwarded verbatim when the next state triggers an external process. Returns the new current state. Returns 404 when the instance does not exist in the caller's organization.

Request​

Responses​

The new current state after the transition; the body is the standard { message, response } envelope, response holds the state