02-07-2014 04:31 AM
@Override
public void execute(DelegateExecution execution) throws Exception {
int myPropertie= (Integer) execution.getVariable("myPropertie");
final RuntimeService runtimeService = execution.getEngineServices().getRuntimeService();
List<Execution> executions = runtimeService.createExecutionQuery().variableValueEquals("myPropertie", myPropertie)
.list();
for (Execution ex : executions) {
runtimeService.deleteProcessInstance(ex.getProcessInstanceId(), "my delete reason");
}
}
02-10-2014 03:27 AM
02-10-2014 04:29 AM
02-11-2014 10:30 AM
02-11-2014 10:32 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.