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 / How to Delete a row fr...
Power Automate
Unanswered

How to Delete a row from secondary list when deleted from main list

(0) ShareShare
ReportReport
Posted on by 34

I have already got a flow with 'When an item is created or modified' to add/update a secondary list using the Filter Query (in Get Items) for the 'identifier' of the individual list row. This adds new records or updates current ones successfully.

 

WhenAnItemIsCreatedOrModified.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I now want to be able to 'delete' a list row from the main list and for it to automatically delete it from the secondary list - I'm struggling to figure this out as I don't have the same options/filter options available to me if I use the 'When an item is deleted' trigger

 

Am I going about this in the right way!?

 

 

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @jamesfisher  Store main list item ID in your secondary list then by using that ID in your filter query , you can delete row from secondary list.

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • jamesfisher Profile Picture
    34 on at

    Thanks @Hardesh15 - I'm still struggling to get this to work. Here is my flow. The ID is brought across to the secondary list via the 'When an item is created or modified' flow to the AAA ID NO column (Field=AAA_x0020_ID_x0020_No_x002e_)

     

    Have I missed a step or set it up incorrectly?

     

    PA_DeleteRecords.png 

    Secondary list  

    SharePointList_Student.png

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @jamesfisher  What is error message? And what is the type of your AAA...ID column?

    Please 'Thumbs Up' the posts that helped you and 'Mark as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @jamesfisher 

    Please make sure you use the correct column internal name.

    You can find the column internal name via List settings -> Click on the column name -> It’s at the end of the URL on the Edit column page, after ‘Field=’.

    vLilyWmsft_0-1634620454174.png

    vLilyWmsft_1-1634620614217.png

    Then delete this item.

    vLilyWmsft_2-1634621070229.png

    Best Regards.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard