Skip to content

🐛 Bug Report: Update and delete variants in the workflow doesn't work #7153

@vakuolyaa

Description

@vakuolyaa

📜 Description

When I try to update the variant's name in the workflow, update its condition, or delete the variant, the changes don't persist. Initially, the changes appear to work, but after refreshing the page, they revert to the previous state.

👟 Reproduction steps

  1. Go to Workflows -> Select a workflow -> Click on a step that has multiple variants -> Click on delete variant -> Success -> Variant disappears -> Refresh the page -> Variant is not deleted

👍 Expected behavior

Variant should be deleted.

👎 Actual Behavior with Screenshots

https://www.loom.com/share/073a7c02c4be4e259ee77511516ca171?sid=9b9f24b0-3ac6-4044-b713-7919399a651a

Novu version

Novu SaaS

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    APICreated by Linear-GitHub Sync

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions