Introduction:
In the Power Automate Flow, there was no option of Undo and even if we mistakenly delete something, there was no option to redo it. In April 2022 release wave 1, Microsoft introduced the feature that allows users to Undo/Redo their operations/actions in the cloud flows designer.
Now, let’s explore this new feature!
Given below is the Cloud flow I created:
After clicking the “Undo” button the first time, the screen will look as below:
And clicking the “Undo” button one more time removes the entire Body as shown below:
Also now on clicking the Redo button, the screen will look as below:
And one more Redo operation will bring the original flow as you can see below:
One more thing was that when I tried the same Undo/Redo feature by creating cloud flow inside the solution I noticed that by clicking Undo/Redo buttons, the connection was also getting impacted i.e. it was getting removed as shown in the below screenshot:
Given below are some of the behaviors that I observed while exploring the Undo/Redo feature of the Cloud Flow inside solution:
- When I created flow inside the solution, it was necessary to select a connection every time I did Undo/Redo as it kept showing an “Invalid Connection” error.
- And once I selected the connection, Undo action was performed but it was not allowing to Redo it because the button was getting disabled.
- The feature still does work if I keep clicking on Undo/Redo without selecting connection (that was getting removed) but it is inconsistent i.e. sometimes it does not undo/redo any action in the cloud flow on a single click.
Also, the keyboard shortcuts for Undo/Redo (i.e. Ctrl + Z & Ctrl + Y) don’t work here and you have to use the buttons only.
Conclusion:
This feature will surely help app makers to easily revert some of their previous operations in the cloud flows designer. But due to the inconsistent behavior of Undo/Redo buttons, it might impact the performance while using this feature.