Return an instance to a previous state
POST/api/state-machine-instances/return-to-prev-state
Returns the instance identified by requestId to an earlier state, honouring the return policy of the current state. The context payload is passed through to the target state. A return reason is recorded in the instance history.
Request
Responses
- 201
The returned instance under instance; the body is the standard { message, response } envelope