Skip to main content

How to Add an Existing Cloud Flow to a Solution in Power Apps

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

A flow you built before you had a solution can still go into one. Add existing → Automation → Cloud flow lists the environment's flows on two tabs, and the one you need depends on where the flow is stored.

Putting a flow into a solution lets it travel with the solution's apps and other objects to another environment (How to Export a Solution in Power Apps (Managed or Unmanaged)). Microsoft's Create a cloud flow in a solution explains the two tabs: "Solution-aware cloud flows appear in the From Dataverse tab. Non-solution cloud flows appear in the Outside Dataverse tab."

The example is a flow called Say Hi, with Manually trigger a flow and a Compose step holding Hi. I made it in Power Automate from Create → Instant cloud flow, not inside a solution, and added it to a solution called How-to Examples.

Step 1: Open Add Existing in Your Solution​

In Power Apps, select Solutions and open your solution. Select Add existing in the command bar, then Automation → Cloud flow. The Add existing cloud flows panel opens with a reminder: Adding cloud flows that aren't already in solutions will also add them to Dataverse.

Step 2: Choose the Tab​

Because Say Hi was made outside any solution, I looked on Outside Dataverse first. It said No objects found:

The Add existing cloud flows panel on the Outside Dataverse tab, showing No objects found and There are no objects to show in this view, with the Add button greyed out

The flow was on From Dataverse instead. Microsoft's article Add canvas apps and cloud flows to a solution by default explains why: an environment setting, Create new canvas apps and cloud flows in Dataverse solutions, makes new flows solution-aware from the start, and "all new environments provisioned with a Dataverse database have the Cloud flows setting enabled by default." In this environment, a flow made from Create was already in Dataverse, so it wasn't on Outside Dataverse.

Step 3: Find and Select the Flow​

On From Dataverse, type part of the flow's name in Search cloud flows and press Enter. Select the round check box next to the flow. The panel says 1 cloud flow selected:

The From Dataverse tab searched for Say Hi, with 1 cloud flow selected: Say Hi, Modified 1 min ago, Managed No, Customized Yes, Status On

The columns help you pick the right one: Managed says whether it came with a managed solution, and Status whether it's on. Select Add.

Step 4: Check the Solution​

The flow is now in the solution's list of objects, still On:

The solution's objects filtered to Say Hi: Cloud Flow, Managed No, Customized Yes, Last Modified 1 minute ago, Owner Admin User, Status On

Adding didn't copy the flow or change what it does. The solution lists the same flow, and the flow keeps running as before.

What Adding Does to a Non-Solution Flow​

For a flow on Outside Dataverse, adding it does more than list it: it moves the flow into Dataverse. Microsoft's article says that move is one way: "Non-solution canvas apps and non-solution cloud flows can be added into a solution to add them into Dataverse, but there's no way to revert back." My example flow was already in Dataverse, so for it, adding only listed it in the solution.

Common Mistakes​

MistakeWhat happensDo this instead
Looking only on Outside DataverseFlows already in Dataverse aren't thereCheck From Dataverse too
Picking a flow by name aloneTwo flows can share a nameCheck Modified and Status before you add it
Expecting a copyIt's the same flow, in one more solutionRemove it from the solution, not the environment, if you change your mind

Troubleshooting​

SymptomLikely causeFix
No objects found on Outside DataverseEvery flow here is already in DataverseUse From Dataverse
The flow isn't on either tabIt's in another environment, or not shared with youCheck the environment, or ask its owner to share it
Add stays greyed outNothing is selectedSelect the flow's check box

FAQ​

Can a flow be in more than one solution?​

Yes. Adding it to a second solution lists it there too. Removing it later from one solution, with Remove → Remove from this solution, leaves it in the others (How to Remove an Object from a Solution Without Deleting It in Power Apps).

Do I need to turn the flow off first?​

No. Say Hi was on when I added it, and it stayed on.

Can I add a flow from a managed solution?​

Yes, and that's how you change one in the environment it was installed in (How to Edit a Cloud Flow in a Managed Solution in Power Automate).

Conclusion​

Open the solution, select Add existing → Automation → Cloud flow, find the flow on From Dataverse or Outside Dataverse, select it and Add. The flow stays the same flow, now listed in your solution.

Additional Resources​