When we open the designer, even though we haven't done any changes, 'Save' button is still highlighted.
If we still go ahead and click on 'Save', it will show a message that the workflow is saved('Successfully saved workflow'), but when we try to go back to our list of workflows, it shows a pop up message 'Your unsaved edits will be discarded', but there are no edits to be saved anymore!
After this, when we open the designer, the changes are saved(if any), but unnecessary pop-up which says 'Your unsaved edits will be discarded'.
Also, the 'Save' should be disabled when there are no actual changes to the workflow.
@MisbahAfreen Thanks for reporting this as well, this is happening because in new designer we haven't implemented a way to check the dirty-state of the workflow. This is something we plan to add in the future
Describe the Bug with repro steps
Issue in 'Try preview Designer'
When we open the designer, even though we haven't done any changes, 'Save' button is still highlighted. If we still go ahead and click on 'Save', it will show a message that the workflow is saved('Successfully saved workflow'), but when we try to go back to our list of workflows, it shows a pop up message 'Your unsaved edits will be discarded', but there are no edits to be saved anymore!
After this, when we open the designer, the changes are saved(if any), but unnecessary pop-up which says 'Your unsaved edits will be discarded'.
Also, the 'Save' should be disabled when there are no actual changes to the workflow.
Workflow JSON
Screenshots or Videos
Browser
Chrome
Additional context
No response