AnsweredAssumed Answered

Start of suspended processes

Question asked by kaech on Sep 5, 2012
Latest reply on Sep 5, 2012 by kaech
Hi,

we deployed a process to Activiti and suspended it using runtimeService.suspendProcessInstanceById
It seems that the process is still startable via runtimeService.startProcess… . Is this the way it should be? At least our expectation was that a suspended process should not be startable anymore. It should be completely inactive.

The documentation says:
"Suspends the process instance with the given id. If a process instance is in state suspended, activiti will not execute jobs (timers, messages) associated with this instance. If you have a process instance hierarchy, suspending one process instance form the hierarchy will not suspend other process instances form that hierarchy. "

What is the exact meaning of "suspended processes" in Activiti?

Outcomes