OpenFn / lightning

OpenFn/Lightning ⚡️ is the newest version of the OpenFn DPG and provides a web UI to visually manage complex workflow automation projects.
https://openfn.github.io/lightning/
GNU Lesser General Public License v3.0
115 stars 31 forks source link

name of deleted workflow can't be reused #2197

Open ritazagoni opened 2 weeks ago

ritazagoni commented 2 weeks ago

I have created a workflow with name test, then deleted it. When I create a new workflow with the same name and try to save it, I get the error a workflow with this name already exists in this project.

v2.6.0 (1.1.0)

I have reproduced this locally on main:

To Reproduce Steps to reproduce the behavior:

  1. Create a new workflow with name X
  2. Delete the workflow.
  3. Create a new workflow with name X and click Save.

Expected behavior The new workflow should be saved.

Screenshots https://www.loom.com/share/d7905ca06aa44d1c8c6614b9eb67579b?sid=6c7e5d8c-4525-435a-aa50-983de612f036