public void notify(DelegateTask task) { ExecutionEntity execution = ((TaskEntity) task).getExecution(); if (execution != null) { HistoricActivityInstanceEntity historicActivityInstance = ActivityInstanceEndHandler.findActivityInstance(execution); historicActivityInstance.setAssignee(task.getAssignee()); } }
public void notify(final DelegateTask delegateTask) { Guards.dispatch(this, delegateTask.getEventName(), delegateTask.getExecution()); }