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 : OO1paV6LyXrPZcpTogvbsP
Power Automate - Using Connectors
Answered

Need flow to use one connection or another

Like (1) ShareShare
ReportReport
Posted on 5 Feb 2021 16:44:31 by

Hi,

 

Can the same flow use two different connections "dynamically"? Perhaps with solutions? 

 

I have to run two identical flows, their only difference being the file system connection they use (I can't use the same connection for both). I want to avoid duplicating the flow and having to maintain two identical flows. I thought that I could solve this by using solutions. For example:

  • In solution A I create flow A and link it to connection A
  • In solution B I add flow A and connection B
  • In solution C I add flow A (again) and connection C.

If I change flow A, I see it reflected among all solutions - great!

 

However, flow A is tied to connection A. Is there a way to link flow A in solution B to connection B while flow A in solution C is connected to connection C?

I thought about importing or cloning solutions, since during import you are prompted to choosee the original connection or set up a different one. So I guess that by importing solution A into solution B and C, I can then choose their respective connections. However, I believe importing/cloning is a copy operation and does not create a reference to the original? Therefore, I would either still have to maintain multiple versions? Or worse, keep reimporting A into B and C, each time essentially destroying B and C temporarily.

 

Another option is to have forks in the main flow to use one connection or the other (if conditions or switch cases) but that seems clunky and not too scalable. And I would still have to maintain the identical parallel branches of the forks which only vary in the connection they use.

 

In other words, if connections could be passed around to flows like parameters, that would solve my problem. Is there some way to mimic this?

 

Thanks

 

I have the same question (0)
  • Verified answer
    jinivthakkar Profile Picture
    4,181 on 11 Feb 2021 at 16:26:48
    Re: Need flow to use one connection or another

    @Anonymous there is no way to pass connections dynamically like parameters.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 626 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 374 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 284 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics