web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Moving a Power Automate Flow from My Flows into a CDS Solution

AaronRic Profile Picture AaronRic 10,035

As many are aware, Flows can now be included in a CDS Solution. There are many benefits of this, including the use of the Common Data Service (Current Environment) connector and Run History being retained longer than 30 days. If you were not aware, flows that exist outside of a solution only retain their Run History for 30 days. These limits are covered HERE

 

 

There are many people, including myself, that have created Flows outside of a solution for one reason or another. But what happens when you want to start following the best practice to manage these within a solution and how do you bring it into a solution? Let's take a look.

 

Below, I have a simple test Flow that sends an email to a User and Contact record. This Flow was built without a solution and is accessible within My Flows.

6254.pastedimage1586435420575v2.png

However, I have decided that it would be better to manage and have this Flow included in a solution instead. I created a solution in my CDS environment where I want to add the Flow.

5241.pastedimage1586435431255v3.png

Open the solution, click Add Existing and select Flow

 

7776.pastedimage1586435450475v4.png

This will open a window that will allow you to choose Flows from another solution or from outside of a solution. In this case, we will choose Outside Solutions. Note the notification at the top and be sure to review those limitations.

5050.pastedimage1586435467837v5.png

Select your Flow and click Add

 

8130.pastedimage1586435477019v6.png

 

 

You will see the following

 

 

6303.pastedimage1586435492433v7.png

 

 

Now, we can see that this Flow exists in the solution and is no longer accessible in the My Flows area.

 

3823.pastedimage1586435492437v8.png

 

 

 

1106.pastedimage1586435502357v9.png

 

 

This does not change any of the connectors you are using when you do this. For example, if you are using the standard Common Data Service connector, it will not change to the Common Data Service (Current Environment) connector. You will not be able to select the Common Data Service (Current Environment) connector within this flow. To do that, you would need to recreate the flow. Changes such as that would need to be done manually. Open the Flow within the solution to make sure everything still looks good, is enabled if necessary, and that’s it!

 

 

Thanks for reading!

 

 

Aaron Richards

Comments

*This post is locked for comments

  • Marcel Lathouwers Profile Picture Marcel Lathouwers 175
    Posted at
    @Ryan, you can delete the connections on the right hand top site when you open the flow (so the main screen, not edit mode). Previously you could export and import the solution, and that would create the connection references. Not sure that will still work
  • RyanCPerry Profile Picture RyanCPerry 105
    Posted at
    Hi. When doing so, The flows continue to use Connections. Is there a way to switch them over to use Connection References?