11-02-2015 07:08 AM
processEngine = seamConfiguredProcessEngine.getProcessEngine();
RuntimeService runtimeService = processEngine.getRuntimeService();
pack.setStatus("Cancelled");
packageDao.merge(pack);
runtimeService.setVariable(pack.getJbpmProcessId(), "pack", pack);
runtimeService.suspendProcessInstanceById(pack.getJbpmProcessId());
runtimeService.deleteProcessInstance(pack.getJbpmProcessId(), "deleteReason");
11-03-2015 03:55 AM
How can I stop a process
org.activiti.engine.test.api.runtime.RuntimeServiceTest#testDeleteProcessInstance
change the values of the entities of a running process when i am outside of this async process?
org.activiti.engine.test.api.runtime.RuntimeServiceTest#testSetVariables
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.