public CdiBusinessProcessEvent(DelegateTask task, ProcessDefinitionEntity processDefinition, BusinessProcessEventType type, Date timeStamp) { this.activityId = null; this.transitionName = null; this.processInstanceId = task.getProcessInstanceId(); this.executionId = task.getExecutionId(); this.type = type; this.timeStamp = timeStamp; this.processDefinition = processDefinition; this.delegateTask = task; }
public void notify(DelegateTask delegateTask) { ProcessEngineServices services = delegateTask.getProcessEngineServices(); RuntimeService runtimeService = services.getRuntimeService(); runtimeService.setVariable(delegateTask.getExecutionId(), "taskListenerCalled", true); }
public void notify(DelegateTask task) { DelegateExecution execution = task.getExecution(); recordedEvents.add(new RecordedTaskEvent(task.getId(), task.getExecutionId(), task.getEventName(), execution.getActivityInstanceId())); }
@Override void setValueIntoDictionary(Dictionary<String, String> dictionary, DelegateTask task) { dictionary.put(getPropertyKey(), task.getExecutionId()); } },
public CdiBusinessProcessEvent(DelegateTask task, ProcessDefinitionEntity processDefinition, BusinessProcessEventType type, Date timeStamp) { this.activityId = null; this.transitionName = null; this.processInstanceId = task.getProcessInstanceId(); this.executionId = task.getExecutionId(); this.type = type; this.timeStamp = timeStamp; this.processDefinition = processDefinition; this.delegateTask = task; }
public void notify(DelegateTask delegateTask) { ProcessEngineServices services = delegateTask.getProcessEngineServices(); RuntimeService runtimeService = services.getRuntimeService(); runtimeService.setVariable(delegateTask.getExecutionId(), "taskListenerCalled", true); }
public void notify(DelegateTask task) { DelegateExecution execution = task.getExecution(); recordedEvents.add(new RecordedTaskEvent(task.getId(), task.getExecutionId(), task.getEventName(), execution.getActivityInstanceId())); }