Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Way to identify multiple instances of connector in flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey all, I have a custom connector.When my users use it in flow they can add the actions multiple number of times in a flow. Now my action is connected to backend where a database entry will be made for it when flow runs. Basically, we need to recognize an action of the connector(a guid or something) that remains fixed for that instance of the connector throughout that flow life cycle(EACH RUN). It should not change. Now when we delete it and add it again, the guid should change as technically we have added a new instance.

What we have tried:

1)guid() expression: changes on every run

2)Dynamically bringing a guid generated from backend: was working fine, when the instance was created, a guid came from my backend and when the action ran, the guid was sent in request body and recorded at backend. It remained same throught every run of the flow. We got a different guid when another instance of the connector was added too.

BUT this stopped working recently because every time we add a new instance, it has the same guid as other instances, as if the first request to get guid is getting cached and being reused. It only changes if one makes new connection for new instance but that is not feasible for our users.

3) workflow() gives details of flow, so not an option

 

So, how to identify the instances of one connector in one flow?

  • Rohit Sharma354 Profile Picture
    on at
    Re: Way to identify multiple instances of connector in flow

    Hello,

     

    Based on my understanding a custom connector or standard connector gets associated to multiple flows using the connection settings.

    When running a flow, it makes a call to the existing connection by reading connection settings on the flow action and perform the operation.

     

    I am not sure, if you can capture the connection instance information for a particular flow run.

     

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1