web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Association of items f...
Power Automate
Unanswered

Association of items from collection to dataverse table

(1) ShareShare
ReportReport
Posted on by 407

Hi all, I'm having a bit of a struggle trying to figure this out. I'm working on building a compliance application for flows and apps, where users can associate:

 

Power Apps to Power Apps,

Power Apps to Power Automate flows

Power Automate flows to Power Apps

Power Automate flows to Power Automate flows

 

Users are using a power apps to select the apps and flows to associate with. The issue I'm having is making the associations using Power Automate. 

 

Sample Data set:

NameIDPlatformOwner
app11Power Appsuser
app22Power Appsuser
flow11Power Automateuser
flow22Power Automateuser

 

I would like to associate them as shown below:

 

NameIDPlatformassociatedNameassociatedIDassociatedPlatformowner
app11Power Appsapp22Power Appsuser
app11Power Appsflow11Power Automateuser
app11Power Appsflow22Power Automateuser
app22Power Appsapp11Power Appsuser
app22Power Appsflow11Power Automateuser
app22Power Appsflow22Power Automateuser
flow11Power Automateapp11Power Appsuser
flow11Power Automateapp22Power Appsuser
flow11Power Automateflow22Power Automateuser
flow22Power Automateapp11Power Appsuser
flow22Power Automateapp22Power Appsuser
flow22Power Automateflow11Power Automateuser

 

Pretty much making an association between all selected apps and flows. So that when I go to the app, they can query which apps/flows are associated with each other as part of their business process. 

 

Any help is much appreciated, please let me know if I need to clarify anything. 

 

Thanks

 

 

Categories:
  • sandeepstw Profile Picture
    312 Moderator on at

    Hi There,

     

    To create associations between Power Apps and Power Automate flows as per your requirements, follow these steps using Power Automate.

     

    Set up a flow triggered by your Power App when users select apps and flows to associate. Use the Power Apps trigger for your flow. This will enable the flow to receive data from your Power App.

    Use the 'Ask in PowerApps' dynamic content in subsequent actions to receive the app and flow selections from your Power App. Expect to receive data in a structured format like JSON or a delimited string, which lists the associations. You may need to parse this data.

    If data is in JSON, use the 'Parse JSON' action. If it's a delimited string, use 'Compose' actions with expression functions like split() to parse the data.

     

    Iterate over the parsed data with an 'Apply to each' control. For each association, you can create a record in a SharePoint list or a Dataverse table. This record will store the association data like Name, ID, Platform, AssociatedName, etc.

     

    Create a SharePoint list or a Dataverse table with columns corresponding to your data fields like Name, ID, Platform, associatedName, associatedID, associatedPlatform, Owner.

    Within your 'Apply to each' loop, add actions to create items (SharePoint) or rows (Dataverse) with the association details.

    In your Power App, set up data connections to the SharePoint list or Dataverse table to query and display the associations.

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

  • _sourcecod3_ Profile Picture
    407 on at

    Hi @sandeepstw do you happen to have an example of a flow that I can use as a reference? I created the flow and it creates the items but it's not creating the associations correctly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard