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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Delete records in a mu...
Power Apps
Unanswered

Delete records in a multi-table relationship

(0) ShareShare
ReportReport
Posted on by 154

First, I love that Dataverse supports polymorphic relationships and allows multiple business process flows for an entity. 

 

I'm trying to delete a row from a table, where the reference to the row is a multi-table many-to-one relationship column.

 

More detail: I have a Main record for my flow, which has a 'type'. Based on the type, my 'Content' column point to a record in one of four tables. While the Dataverse relationship is Many-to-One, in practice it's always a One-to-One. Main is the 'only child' record and one of the four Content tables has the 'parent'. When I delete the Main record, I want the associated Content record to got deleted as well. I have to do this as a 'workflow' associated with the Main table. "On Delete", get the reference to the associated Content record and delete that as well.

 

Attempting to do this in Power Automate, the Dataverse Delete Row action requires that I tell it what table. But this is a multi-table reference, and I don't know which table.

 

How can I delete a row when I have a multi-table reference and don't know the table?

I have the same question (0)
  • BostonSailor Profile Picture
    154 on at

    Power Automate will always run after the delete, so there's no data available to refer to the 'parent' table and row. Instead, I have to do a real-time workflow that happens before the delete. 

     

    Sadly, I don't see any action available in the real-time workflow tool that allows me to delete a record. Still looking. Any pointers would be appreciated.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard