public void setValues(ManualTask otherElement) { super.setValues(otherElement); } }
@Override protected boolean isDirectFlowElementExecutionMigration(FlowElement currentFlowElement, FlowElement newFlowElement) { //Activities inside or that are MultiInstance cannot be migrated directly, as it is better to trigger the MultiInstanceBehavior using the agenda, directMigration skips the agenda return (currentFlowElement instanceof UserTask && newFlowElement instanceof UserTask || currentFlowElement instanceof ReceiveTask && newFlowElement instanceof ReceiveTask) && (((Task) currentFlowElement).getLoopCharacteristics() == null && !getFlowElementMultiInstanceParentId(currentFlowElement).isPresent()) && (((Task) newFlowElement).getLoopCharacteristics() == null && !getFlowElementMultiInstanceParentId(newFlowElement).isPresent()); }
@Override protected void executeParse(BpmnParse bpmnParse, Task task) { ActivityImpl activity = createActivityOnCurrentScope(bpmnParse, task, BpmnXMLConstants.ELEMENT_TASK); activity.setActivityBehavior(bpmnParse.getActivityBehaviorFactory().createTaskActivityBehavior(task)); activity.setAsync(task.isAsynchronous()); activity.setExclusive(!task.isNotExclusive()); }
@Override protected void executeParse(BpmnParse bpmnParse, Task task) { task.setBehavior(bpmnParse.getActivityBehaviorFactory().createTaskActivityBehavior(task)); }
(fieldExtension.getExpression() == null || fieldExtension.getExpression().length() == 0))) { throw new FlowableException("decisionTableReferenceKey is a required field extension for the dmn task " + task.getId()); ObjectNode taskElementProperties = BpmnOverrideContext.getBpmnOverrideElementProperties(task.getId(), execution.getProcessDefinitionId()); activeDecisionTableKey = getActiveValue(activeDecisionTableKey, DynamicBpmnConstants.DMN_TASK_DECISION_TABLE_KEY, taskElementProperties); .instanceId(execution.getProcessInstanceId()) .executionId(execution.getId()) .activityId(task.getId()) .variables(execution.getVariables()) .tenantId(execution.getTenantId());
public void setValues(ManualTask otherElement) { super.setValues(otherElement); } }
public void setValues(ManualTask otherElement) { super.setValues(otherElement); } }
public void setValues(ManualTask otherElement) { super.setValues(otherElement); } }
public void setValues(BusinessRuleTask otherElement) { super.setValues(otherElement); setResultVariableName(otherElement.getResultVariableName()); setExclude(otherElement.isExclude()); setClassName(otherElement.getClassName()); ruleNames = new ArrayList<>(otherElement.getRuleNames()); inputVariables = new ArrayList<>(otherElement.getInputVariables()); } }
public void setValues(BusinessRuleTask otherElement) { super.setValues(otherElement); setResultVariableName(otherElement.getResultVariableName()); setExclude(otherElement.isExclude()); setClassName(otherElement.getClassName()); ruleNames = new ArrayList<>(otherElement.getRuleNames()); inputVariables = new ArrayList<>(otherElement.getInputVariables()); } }
public void setValues(ScriptTask otherElement) { super.setValues(otherElement); setScriptFormat(otherElement.getScriptFormat()); setScript(otherElement.getScript()); setResultVariable(otherElement.getResultVariable()); setAutoStoreVariables(otherElement.isAutoStoreVariables()); } }
public void setValues(ScriptTask otherElement) { super.setValues(otherElement); setScriptFormat(otherElement.getScriptFormat()); setScript(otherElement.getScript()); setResultVariable(otherElement.getResultVariable()); setAutoStoreVariables(otherElement.isAutoStoreVariables()); } }
public void setValues(UserTask otherElement) { super.setValues(otherElement); setAssignee(otherElement.getAssignee()); setOwner(otherElement.getOwner());
public void setValues(UserTask otherElement) { super.setValues(otherElement); setAssignee(otherElement.getAssignee()); setOwner(otherElement.getOwner());