command.setReadOnly( readOnly );
return commandService.execute( command );
}
public void abortProcessInstance(long id) {
AbortProcessInstanceCommand command = new AbortProcessInstanceCommand();
command.setProcessInstanceId( id );
commandService.execute( command );
}