cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JimJim
Helper V
Helper V

Move flow from one solution to another

Hi Guys,

 

I created a new solution and from within my new solution I did:

 

Add Existing > Automation > Cloud Flow,

 

I then selected a flow from another solution. It was then visible in my new solution and I assumed I had made a copy of it, however when I run the flow in one environment, it also runs in the other. It looks like the flow hasn't been duplicated at all and I am really confused by this behaviour.

 

What is the simplest way to move a flow to a new solution? 

16 REPLIES 16
Mira_Ghaly
Dual Super User
Dual Super User

@JimJim 

Adding a flow to another solution does not make a copy , Adding an Existing flow is just a reference to the same flow, If you tried to make a copy by Save A copy you will not be able to add it in a solution.

 

Can you explain exactly what you are trying to achieve here?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Hi @Mira_Ghaly ,

Thank you, that makes sense.

I am attempting to move a bunch of flows from a dev solution to a production solution

@JimJim 

So after adding the flow , I believe you have exported and imported into the other environment and once the solution is imported make sure that the flows are turned on.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

How do I export it? This is the only option I have under Export

 

JimJim_0-1634208181719.png

 

@JimJim 

Go to make.powerapps.com

solutions -> Select the solution and click Export

Mira_Ghaly_0-1634208312662.png

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

So I need to export the whole solution?

In my old solution I have 18 flows, I only want to move 3 of them to production.

If I need to export the whole flow then how do I continually push only the flows I have changed to my production solution?

@JimJim

No you don't need just create a new solution and add the flows you want to move the 3 flows and then export the solution from Dev and import to production.

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Sorry, I'm completely lost. Do you have a blog or video you can point me to?

@JimJim 

Please follow the below steps:

1. Go to make.Powerapps.com

2. Select your Environment-> Dev in this case

Mira_Ghaly_0-1634210372431.png

 

2. Click Solutions ->New Solution-> Give it a name and Save

Mira_Ghaly_1-1634210413664.png

4. Click Add Existing and choose your flows

5. Click on Export solution the solution will be download

6. Switch your environment to the Production

7. Click Import and choose the solution

After the solution is imported -> Open each flow and make sure it is turned on.

 

Hope this helps you!

 

 

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghaly , thank you for explaining, I now understand.

 

The issue I have is that I only have one environment and was planning on using 2 solutions (one for dev flows and one for production flows). 

@Mira_Ghaly ,

I think we may have got ourselves confused, just to clarify, I only have one environment. Within that environment I have a solution named Dev and a solution named Production, I want to move 3 flows from Dev to Production (within the same environment)

I'm now guessing that this isn't the best set up 😟

Babybots
Resolver II
Resolver II

Hey Jim,

 

When adding a flow to the solution, you're adding the original flow not a copy. You'll notice that when you share the flow with an internal party as well, any edits they make to the flow will reflect in your flow as well. I'm not sure of your use case, but a quick fix is to duplicate the cloud flow and add the copy to your solution. This flow is now siloed from the original and will not update when any edits are made to the original.

 

Hope this helps!

hi, please advise the steps for "quick fix is to duplicate the cloud flow and add the copy to your solution"

thanks

Stephen

Hi JimJim, I have exactly the same situtation (I only have 1 environment it is provided by my business).

  My MASTER DEV solution has x60 flows. Which I maintain. I was using Save As and then Add existing to do what you are asking, but I have recently used this method, it does add the flow to the solution but keeps it linked the source.

Did you solve it?

Stephen

Nope, I had to create a completely new flow and copy paste each component from my old flow, a total pain.

DieterDraelants
Frequent Visitor

@JimJim 

You should try and look into "Microsoft ALM".
I also had a kind of similar setup like yours in the beginning with 1 environment. Then i started some Microsoft Learn courses and in one of those courses came this topic, so i restructured my entire setup, which had many business critical flows running already. And i'm happy with how it's working now 🙂 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,266)