Anyone who has had contact with Power Automate has probably encountered the inconvenience of not being able to save a draft version of their flow or not being able to restore a previous state of their automation.
Classic scenarios that have occurred so far include:
- I can’t find the error in my Power Automate flow right now, I’ll save it in its current state and come back to it tomorrow.
- I accidentally made a mistake and saved the changes without the ability to revert.
- Due to a browser/solution error (the back button didn’t always work), I lost a portion of the solution that wasn’t documented.
- I forgot to create a backup, and someone unexpectedly made changes to my flow.
- I’m not sure if the changes will work, but I’ll publish them to production because otherwise I’ll lose the work’s effect, and I’ll test and consult with the architect or my team tomorrow.
The feature, which was default in documents, list items, and Power Apps, was not available in Power Automate, often leading to data loss or a certain level of frustration.
Forget about the above!
Version history and saving draft are available!
To utilize Version History and Draft functionality, you need to create a flow/solution using Solutions. Solutions are a crucial component of the Power Platform. If you haven’t interacted with them before, it’s essential to familiarize yourself with them and change your solution development approach!
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-4-1024x601.png)
Press Solutions from Power Apps or Power Automate portal.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-6.png)
Press New Solution
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-7.png)
Provide a solution name, select a publisher. If you haven’t defined any other publishers, choose the default CDS Default Publisher.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-8-1024x321.png)
After pressing Create, you will see the interface of your newly created solution.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-9.png)
Select New -> Automation -> Cloud flow -> and choose the type of flow, I chose Automated.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-10.png)
Name your flow and choose a trigger.
The version history and draft feature is only available in the new designer, while the wizard has defaulted to the classic interface. However, this doesn’t pose a problem.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-11.png)
Create your flow for testing purposes, I configured it to send an email when a new item appears on the test Booking list. Save the flow.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-12-1024x425.png)
After saving the flow, you will return to the Solutions interface. Select the Cloud flows tab, choose your flow, and proceed to edit it as shown in the attached screenshot.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-13.png)
The flow has started in the new interface. Note that the Save draft and Version History functionalities have appeared.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/200w.gif)
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-16.png)
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-15.png)
Make a change to your flow and save it as a draft.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-17.png)
After testing you can press Publish. From this point on, the flow will be accessible, and the changes will be published to production.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-18.png)
All changes will be saved in the version history.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-20.png)
The most important feature is the ability to restore the flow! To do this, select the version you want to restore (after selecting, you’ll notice how the flow in the designer window changes). Then, press Restore.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/Problems-1.gif)
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-21.png)
Press Restore and wait
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/image-22.png)
The flow will be restored but will be saved as a draft! Please note in the screenshot that the entry from 12:07 is still marked as “Published.” Press Publish if you want the restored version to be published to production!
And that’s it! Personally, I believe this is the most significant change in the Power Platform over the past few years. What do you think?
_________________________________________________________________
Would you like to benefit from consultations dedicated to Microsoft 365, Power Platform, Azure solutions, or would you like to build your Intranet in a very unique and personalized way? Take advantage of the services of the company I have the opportunity to work for! Our specialized team will certainly be happy to listen to your needs and take care of them!
If you have any questions, feel free to contact us.
![](https://www.maciejwachowiak.pl/wp-content/uploads/2024/03/IT-De.png)