diff options
Diffstat (limited to 'workflow-designer-be')
-rw-r--r-- | workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java index 75629d0b..f2f8c276 100644 --- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java +++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/services/impl/WorkflowVersionManagerImpl.java @@ -266,6 +266,7 @@ public class WorkflowVersionManagerImpl implements WorkflowVersionManager { if (retrievedParam == null) { parameterRepository.create(workflowId, versionId, role, parameter); } else { + parameter.setId(retrievedParam.getId()); parameterRepository.update(workflowId, versionId, role, parameter); namesOfParamsToKeep.add(parameter.getName()); } |