11-29-2013 12:43 PM
public void suspendProcessInstance(String processInstanceId) {
ProcessEngineHolder.getInstance().getProcessEngine().getRuntimeService().suspendProcessInstanceById(processInstanceId);
ProcessInstance processInstance = ProcessEngineHolder.getInstance().getProcessEngine().getRuntimeService().createProcessInstanceQuery().processInstanceId(processInstanceId).singleResult();
assert(processInstance.isSuspended());
}
12-05-2013 04:39 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.