This operation pauses a process instance. Use it to pause a running process instance.
The base request is:
suspend()
The following example suspends a process instance using an ID stored in a process variable:
new RuntimeProcessInstanceService()
.suspend(variables.processInstanceId);
After the operation completes, the process instance remains in the runtime but stops executing. The process can later be resumed using resume(...) to continue execution from the point at which it was suspended.