public void endProcessInstance(String processInstanceId, String state) {
commandService.execute(new EndProcessInstance(processInstanceId, state));
}
public void deleteProcessInstance(String processInstanceId) {
commandService.execute(new DeleteProcessInstance(processInstanceId));
}