VERSIONING and DRAFTS in Power Automate cloud flows

VERSIONING and DRAFTS in Power Automate cloud flows Hello everyone razza here when building flows in power automate have you ever wished that like power apps power automate also had a versioning feature where we can see the version history of.

VERSIONING and DRAFTS in Power Automate cloud flows

The flows or restore a previous version of a flow or save the flow as draft well guess what now we have those options let's check it out in [Music].

Action the versioning and save as draft feature set is only available for solution-based cloud flows Solutions is that premium because.

It uses data ver no as long as the environment has a datae database set up users can create Solutions without premium licenses best practice always build in.

Solution Solutions so let's begin with a new solution I'll give my solution a name and click create I'll go.

Ahead and add a new automation Cloud flow let's take a simple scenario Microsoft forms data to SharePoint I'll start with an automated Cloud.

Flow when a new response is submitted in Microsoft forms I'll click create notice I've landed in the classic designer to begin with I'll pick my form and for.

Now I'll just add a compose action name my flow and click save the flow is saved if I go back to the previous page we can see that my.

Cloud flow has been added to a solution for taking advantage of versioning and drafts feature set I'll head over to edit edit in a new.

Tab and I will land in the new cloudflow designer experience save as draft many of times as we are working through the process of creating our flows we would like to save.

Our changes in draft mode and not publish the flow you can save as draft even if your flow contains errors now here my trigger is when a new.

Response is submitted to a Microsoft form next I'll add an action to get the response details if I try and publish my flow the flow Checker will validate if the FL.

Posts Related:

    Flow has any

    Errors I haven't filled in these required parameters per form ID and response ID however if I click save.

    Draft this will go ahead and save my flow as draft to test it I would have to publish it but here I was able to save it in draft mode even with.

    Errors and if you explore the name of the flow right at the end the status of the flow is appended right now the flow is in draft mode I can go.

    Back go and edit the flow and I can continue building my flow when I saved the flow as DRFT it also created a version and I can see that by heading.

    Over to version history my flow was published then I created a draft version which is currently the latest version let's make some.

    Changes I'll pick my form I'll set my response ID let's go ahead and save it as a draft again creates another version now if I click on a previous.

    Version notice for this specific version I did not have the form ID and response ID set if I go to the current published version I did not even have that.

    Specific action so I can go look at previous versions and I can restore any of those previous versions so for example if I pick the.

    Published version if I restore it I get the message that restoring this version will promote it to the current draft version which is perfect because I.

    Can review it edit it save it as draft

    Or simply go ahead and publish it I'll click restore now it creates a new version which is in.

    Draft now let's go ahead and complete our flow get response details I'll delete the compose action and add an action here to create.

    An item I've picked my SharePoint site and SharePoint list and I'll go ahead and populate the columns from data coming in from my.

    Microsoft form gone ahead set this up I'll click publish and there is the latest published version notice right at the end of the.

    Name of the flow I'll get the status of the current flow in the version history I do not have an option to plug in version notes however since the entire flow.

    Definition is saved as part of a version one of the things that we can Leverage is as follows let's pick the Trigger action head over to three ellipses and.

    Add notes this could be leveraged as version notes let's take an example after creating the item Maybe I would like to send an email.

    Notification I've made a change to the flow before saving it as draft or publishing it because both of these will trigger a new version I can go to the Trigger action notes and plug in my.

    Version notes and now let's say I go ahead and save this as draft so the latest version includes this.

    Note if I go to the current publish version doesn't have any information but this one does so this can act like our version notes let's say I would like to send a.

    Notification in teams I've added the action to create a chat in teams once again prior to saving I'll go to the Trigger action.

    Notes and override this write my version notes let's say in this scenario Ario I publish it creates another version if I hover over the notes I can.

    See the version notes if I go to my previous version I can see the notes for that specific version the version history is grouped by.

    Days here is an example of a different flow that's in a solution and you can see how the version history is grouped by day now can we have a summary of the version.

    Changes currently no however if I was to open the same flow in a different browser Tab and kind of open this as a split screen.

    Experience this is my current version that I've selected on the left on the right hand side let's say I go one version behind a version notes will help but.

    Beyond that I can get a visual comparison of what's different now what about a scenario where I have existing flows that are outside of a solution.

    Context for example here is a flow that sends overdue task information this flow has not been created in a solution easy we make the non-solution aware Cloud flow is solution aware Cloud.

    Flow by going to to our solution go to add existing automation Cloud flow outside data.

    Verse here is my send overdue tasks information flow I will click add and this will now add this flow to my solution if I explore Cloud.

    Flows here is my send overdue tasks information flow if I head over to edit and now I get the benefits of version.

    History what if my users are still building flows outside of solution context how do I ensure that every cloud flow that's built going forward lands in a solution by default well for that as.

    An administrator go to the Power Platform admin Center select your environment head over to.

    Settings features and one of the options here is the ability to decide if new apps and flows that are created in this environment will be created inside a.

    Data verse solution I'll turn it on for cloud flows and click save so at this point even if I build the flow outside side of a.

    Solution by directly heading to create and building my flow it will still land in a solution and that Solution by default is the common data services.

    Default solution now if I look at the solutions Explorer view in the power apps portal we also have an option now that is generally available which is the.

    Ability for the user to set their own preferred solution I'll select my automation solution and set this as my preferred solution I can also show my preferred.

    Solution on the solutions page I'll apply so for Resa the preferred solution is set to automation plus my admin set all flows.

    DISCLAIMER: In this description contains affiliate links, which means that if you click on one of the product links, I'll receive a small commission. This helps support the channel and allows us to continuetomake videos like this. All Content Responsibility lies with the Channel Producer. For Download, see The Author's channel. The content of this Post was transcribed from the Channel: https://www.youtube.com/watch?v=JmjddnbSd2k
Previous Post Next Post