cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamPo
Power Participant
Power Participant

Add existing flows to Solutions

Hi,

 

Under the 'Solutions' feature there is a button called 'Add Existing' yet no items appear there.

How can I add existing flows in my environment to a new solution? 

 

Sam

31 REPLIES 31
Stacy-lvcva
Frequent Visitor

This is still an issue.

 

I am unable to add existing Flows to a solution.

 

Likewise.  It would be helpful if someone from Microsoft would clarify what is currently supported.

Anonymous
Not applicable

Yup, pretty weird. I can create an "instant flow" inside a solution, but a) I can't add an existing "instant flow" from My Flows to a solution, and b) I can't copy an "instant flow" that's already in a solution and keep the copy inside the solution using the SAVE AS function.  So, if I want to have multiple "instant flows" that are only slightly different, inside the same solution, I have to create each one from scratch.

 

Ridiculousness.

 

 

 

Anonymous
Not applicable

New Sharepoint related Flows can be created within solutions, but existing Sharepoint Flows still cannot be added to them.  This is really unfortunate, since most of our existing flows have Sharepoint triggers or Sharepoint actions.

 

Also, I have several CDS triggered Flows that I have built within a solution, and they migrate just fine.  However, if I hit "Save As" on one of these Flows, the newly created Flow is no longer "solution aware", that is, it cannot be added to a solution.  My use case for this is that I have a Flow that updates items from a CoreHR CDS entity in a sandbox environment to Dynamics CE Contact in a different sandbox.  I now want to reproduce this Flow with a production to production connection. 

 

I don't want to totally recreate this Flow to make a couple minor changes like selecting new environments.  Because of this limitation, some of my Flows are in "My Flows", and others are inside the solution and not visible in "My Flows".  It is obnoxious trying to keep track of them in two places in the same environment.

Yeah me too.

 

All of my flows are have canvas trigger.

Solutions looks like a good way to organize my flows. BUT, i don't want to recreate all my flows.

 

This has to be fixed.

fireflying
Advocate I
Advocate I

Hi, @SamPo (and everyone else). I keep running into this situation as well - I can't add a new manually-triggered flow into an existing solution. This is especially frustrating since child flows must be manually-triggered and therefore are difficult to copy. Here is the method I'm using to copy an existing manually-triggered flow and import it into my solution:

 

  1. Open the details screen of the flow you wish to copy.
  2. Click the Save As button.
  3. Give it a new name, and click Save.
  4. Go to your My Flows section, and the new flow should be there in a disabled state.​
  5. Go into the details page, and click Edit.
  6. Delete the Manually Trigger a Flow trigger.
    1. Note: this will delete any variables which this trigger contained. This is why I always recommend not using trigger variables directly (see this YT video for more details).
  7. ​Select the Power Virtual Agents > When Power Virtual Agents calls a flow trigger.
    1. We use this as it requires no inputs to be defined.
  8. ​Save the flow.
  9. Go back to the Solutions section and select the solution into which you want to import the copied flow.
  10. Click Add Existing > Flow > Outside Solutions.
  11. Select your flow and click Add.​
  12. Edit the flow and swap out the trigger with the Manually Trigger a Flow trigger.
  13. Fix any trigger variables which were wiped out during the copy operation.

Hope this helps someone!

Best,
J.C.

@fireflying ,

 

Good thing I revisited this thread. Thank you for sharing. It worked for me.

 

Regards,

Daniel

Thanks @fireflying. It worked for me.

Thanks, @fireflying !

Worked like a charm!

Thank you @DFire - this is the only option that worked to add my "on-demand" flow to a solution.

ThePercio
Frequent Visitor

I was experiencing the same issue. I was unable to add "Instant" flows. Automations were no problem however. 
Changing the trigger temporarily to an automated trigger might solve some issues.

Hi all, as a recent update to this post, please try some of the workarounds described on this Microsoft Docs page.

 

I had a similar issue, where existing Flows not created within the solution didn't show up on the "Add Existing" menu option.  I tried the following workaround and it worked for me.

 

 

Solutions overview > Known limitations

(extract from: https://docs.microsoft.com/en-gb/power-apps/maker/data-platform/solutions-overview#known-limitations )

 

The following limitations apply to the use of canvas apps, flows, and custom connectors in solutions.

  • Canvas app instant flows must be created from an app already in a solution since adding this type of flow from outside solutions is blocked.
    • Workaround for this limitation: Remove the trigger, replace with another trigger like recurrence, save the flow, add it into a solution, and then change the trigger as needed.

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,005)