AnsweredAssumed Answered

suspendProcessInstanceById not updating database

Question asked by fabio.resner on Nov 29, 2013
Latest reply on Dec 5, 2013 by frederikheremans1

I'm not sure if I'm forgeting something.
I have a method that does the following:

public void suspendProcessInstance(String processInstanceId) {
      ProcessInstance processInstance = ProcessEngineHolder.getInstance().getProcessEngine().getRuntimeService().createProcessInstanceQuery().processInstanceId(processInstanceId).singleResult();

And I also have a method that starts a instance of the process and calls the suspendProcessInstance() method.
While the test result is positive, it does not update ACT_RU_EXECUTION.

SUSPENSION_STATE_ remains the same.
Is there any special condition to call suspendProcessInstanceById?