Showing results for 
Search instead for 
Did you mean: 
Level 8

Does/Will Flow (or Logic Apps) support consistent new child records in CDS?

I have seen other posts that appear similar, but I wanted to see if I can (help) make a case for a general solution.


The basic value proposition

Using Entity Relationships in CDS, we can now create Lookup fields that pick up the PrimaryId of the parent entity when creating a child entity.


The first problem

Flow does not include the Lookup field in the dynamic contet.


The second problem

We now have inconstent referential integrity, and Flow doesn't even know it.


The Workaround

I have several workaround options, none pleasant:

  1. I don't use Entity Relations in CDS
  2. I use Entity Relations, but don't use Flow to do basic database management tasks
  3. Instead of CDS Lookup fields, i keep using my manual technique of storing the parent entity PrimaryId or Value in a text field in my child entity
  4. Least appealing, I use both a text field and a Lookup field, and then try to keep their contents in sync.

Does anybody have a better workaround?

Level 8

Re: Does/Will Flow (or Logic Apps) support consistent new child records in CDS?

Community Support Team
Community Support Team

Re: Does/Will Flow (or Logic Apps) support consistent new child records in CDS?

Hi Mcorning,


About your first problem “Flow doesn’t include the Lookup field in the dynamic content”. Do you want to fill the box with a value from the dynamic content?

It seems that there is no Lookup field from the previous action can be selected from the dynamic content. May I suggest you submit an idea about this to support CDS lookup field in dynamic content in flow on the Flow Ideas Forum?

dynamics content.PNG


About your second problem about inconstent referential integrity, please also consider to submit it as a new feature request.


Flow Ideas Forum is:


I will also report this from my side about these two features. Thanks again for your feedback.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,482)