elsa-workflows / elsa-workflows/elsa-core
[BUG] Workflow Import Option for the Import UI control whether to overwrite or import as new workflows
- Dominant language
- C#
- Stars
- 7.9k
- Forks
- 1.5k
- Avg merge
- 15h 22m
- Merged PRs (30d)
- 114
Description
## Description
Workflow Import Option for the Import UI control whether to overwrite or import as new workflows options. At the moment workflows which are imported after export is overwriting the existing workflows.
But users do not have an option to choose either overwrite existing workflows or import as new workflows.
## Steps to Reproduce
1. **Detailed Steps**:
a. Go to workflow definitions.
b. Select workflows and "BULK ACTIONS"--> Export.

c. Workflows will export into "workflow-definitions.zip" file.
d. Update the workflow definitions *.json file.
e. Import updated *.zip file.
f. Workflow is overwriting the existing workflows but do not have an option to import as a new workflow
2. **Reproduction Rate**: every time
## Expected Behavior
User should have an option to import as new workflow or overwrite as existing workflows.
## Actual Behavior
After import the workflows *.zip" file, it will be overwriting the existing workflows.
## Environment
- **Elsa Package Version**: Elsa 3.0 onwards
- **Operating System**: Windows
- **Browser and Version**: Edge /Chrome
## Troubleshooting Attempts
By removing the value of ****id ,definitionId**** system is creating new workflow.


Contributor guide
Assessment
This issue has not been assessed yet.