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 Apps / Getting Relationship i...
Power Apps
Unanswered

Getting Relationship info from CDS Entity in MS Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

*NOTE* I posted this same question in the flow forum, but as it applies to both Powerapps and flow, I'm reposting it here

 

I have a custom entity with several relationships to other entities, and I'm looking for how to get to those related entities in flow. 

 

Details: We have a custom entity "Customer". Each Customer instance has a lookup field for our custom Country entity. Finally, We have a "Market Region" entity (North America, Asia Pacific, etc). Every country is associated with a Market Region (Canada -> North America; China -> Asia Pacific). Also, there is a list of approvers based on the market region that a country is in. 

 

We have a flow that is triggered by the creation of a Customer. In that flow, we want to be able to get the approver emails based on the country that is selected in the lookup field in Customer. So following the picture below, if a user was to create Buttons Inc. and select "USA" in the country lookup, the flow would basically trace up to see that USA is related to market region "North America", and that the approvers for North America are John and Mary. Then, using the flow action "send email", Mary and John would be sent emails to alert them that a customer was created in their region. 

Relationship Visual.PNGThanks, and let me know if you need more details.

Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to refer related entity data in Flow?

    Here's a doc which describes the process step by step for your reference:

    http://benitezhere.blogspot.com/2018/11/how-to-reference-related-entity-data-in-Flow.html

     

     

    Best regrds,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous how are you progressing with this?

     

    @Anonymous 

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 Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard