Skip to content
Snippets Groups Projects
Commit 2dfc2e87 authored by Till Josef Brinkhus's avatar Till Josef Brinkhus
Browse files

added label to activites

parent 6e33e266
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ public Flow[][] compareFlows(List<Flow> newFlows, List<Flow> oldFlows) {
for (FlowElementReference oldFlowElement: oldFlowElements) {
if(checkedElements.contains(oldFlowElement.getRef().getName())) {}
else {
if(newFlowElement.getRef().getName().equals(oldFlowElement.getRef().getName())) {
......
......@@ -366,11 +366,11 @@ public class TestService {
List<Variable> inputVariables = filterFlowElementVariables(variables, inputVariableNames);
return TestgeneratorDSLObjectCreator.createUserTaskFlowElement(flowElement.getId(), inputVariables);
return TestgeneratorDSLObjectCreator.createUserTaskFlowElement(flowElement.getId(), inputVariables, flowElement.getName());
} else if (flowElement instanceof ManualTask) {
return TestgeneratorDSLObjectCreator.createManualTaskFlowElement(flowElement.getId());
return TestgeneratorDSLObjectCreator.createManualTaskFlowElement(flowElement.getId(), flowElement.getName());
} else if (flowElement instanceof ScriptTask) {
return TestgeneratorDSLObjectCreator.createScriptTaskFlowElement(flowElement.getId());
return TestgeneratorDSLObjectCreator.createScriptTaskFlowElement(flowElement.getId(), flowElement.getName());
} else if (flowElement instanceof BusinessRuleTask) {
String resultVariable = BPMNParseUtils.getResultVariable((BusinessRuleTask) flowElement);
return TestgeneratorDSLObjectCreator.createBusinessRuleTaskFlowElement(flowElement.getId(), resultVariable, flowElement.getName());
......@@ -382,12 +382,12 @@ public class TestService {
if (delegate != null) {
return TestgeneratorDSLObjectCreator.createDelegateServiceTaskFlowElement(flowElement.getId(),
delegate);
delegate, flowElement.getName());
} else if (externalTopic != null) {
List<VariableDeclaration> hardcodedVariables = BPMNParseUtils.getHardcodedVariables(flowElement.getId(), variables,
bpmnIOParameters);
return TestgeneratorDSLObjectCreator.createExternalServiceTaskFlowElement(flowElement.getId(),
externalTopic, hardcodedVariables);
externalTopic, hardcodedVariables, flowElement.getName());
} else {
throw new IncompleteFlowElementException(flowElement.getId());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment