protected void initSequenceCounter(ExecutionEntity execution, HistoryEvent event) { initSequenceCounter(execution.getSequenceCounter(), event); }
protected void initSequenceCounter(ExecutionEntity execution, HistoryEvent event) { initSequenceCounter(execution.getSequenceCounter(), event); }
public Object getPersistentState() { Map<String, Object> persistentState = new HashMap<>(); persistentState.put("processDefinitionId", this.processDefinitionId); persistentState.put("businessKey", businessKey); persistentState.put("activityId", this.activityId); persistentState.put("activityInstanceId", this.activityInstanceId); persistentState.put("isActive", this.isActive); persistentState.put("isConcurrent", this.isConcurrent); persistentState.put("isScope", this.isScope); persistentState.put("isEventScope", this.isEventScope); persistentState.put("parentId", parentId); persistentState.put("superExecution", this.superExecutionId); persistentState.put("superCaseExecutionId", this.superCaseExecutionId); persistentState.put("caseInstanceId", this.caseInstanceId); persistentState.put("suspensionState", this.suspensionState); persistentState.put("cachedEntityState", getCachedEntityState()); persistentState.put("sequenceCounter", getSequenceCounter()); return persistentState; }
public Object getPersistentState() { Map<String, Object> persistentState = new HashMap<>(); persistentState.put("processDefinitionId", this.processDefinitionId); persistentState.put("businessKey", businessKey); persistentState.put("activityId", this.activityId); persistentState.put("activityInstanceId", this.activityInstanceId); persistentState.put("isActive", this.isActive); persistentState.put("isConcurrent", this.isConcurrent); persistentState.put("isScope", this.isScope); persistentState.put("isEventScope", this.isEventScope); persistentState.put("parentId", parentId); persistentState.put("superExecution", this.superExecutionId); persistentState.put("superCaseExecutionId", this.superCaseExecutionId); persistentState.put("caseInstanceId", this.caseInstanceId); persistentState.put("suspensionState", this.suspensionState); persistentState.put("cachedEntityState", getCachedEntityState()); persistentState.put("sequenceCounter", getSequenceCounter()); return persistentState; }
public void notify(DelegateExecution execution) throws Exception { ExecutionEntity executionEntity = (ExecutionEntity) execution; long sequenceCounter = executionEntity.getSequenceCounter(); String activityId = executionEntity.getActivityId(); activityExecutionOrder.add(new ActivitySequenceCounterMap(activityId, sequenceCounter)); }
protected void initSequenceCounter(ExecutionEntity execution, HistoryEvent event) { initSequenceCounter(execution.getSequenceCounter(), event); }
public Object getPersistentState() { Map<String, Object> persistentState = new HashMap<String, Object>(); persistentState.put("processDefinitionId", this.processDefinitionId); persistentState.put("businessKey", businessKey); persistentState.put("activityId", this.activityId); persistentState.put("activityInstanceId", this.activityInstanceId); persistentState.put("isActive", this.isActive); persistentState.put("isConcurrent", this.isConcurrent); persistentState.put("isScope", this.isScope); persistentState.put("isEventScope", this.isEventScope); persistentState.put("parentId", parentId); persistentState.put("superExecution", this.superExecutionId); persistentState.put("superCaseExecutionId", this.superCaseExecutionId); persistentState.put("caseInstanceId", this.caseInstanceId); persistentState.put("suspensionState", this.suspensionState); persistentState.put("cachedEntityState", getCachedEntityState()); persistentState.put("sequenceCounter", getSequenceCounter()); return persistentState; }
createdExecution.setSequenceCounter(getSequenceCounter());
createdExecution.setSequenceCounter(getSequenceCounter());
public void notify(DelegateExecution execution) throws Exception { ExecutionEntity executionEntity = (ExecutionEntity) execution; long sequenceCounter = executionEntity.getSequenceCounter(); String activityId = executionEntity.getActivityId(); activityExecutionOrder.add(new ActivitySequenceCounterMap(activityId, sequenceCounter)); }
createdExecution.setSequenceCounter(getSequenceCounter());