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 : zAxHJ1p5a7viyEk4H4qxNg
Power Automate - Building Flows
Unanswered

Way to identify multiple instances of connector in flow

Like (0) ShareShare
ReportReport
Posted on 30 Jun 2020 10:48:12 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?

I have the same question (0)
  • Rohit Sharma354 Profile Picture
    on 01 Jul 2020 at 15:53:54
    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

Responsible AI policies

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

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 783 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 515 Moderator

#3
trice602 Profile Picture

trice602 299 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete