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 Automate / remove items from list...
Power Automate
Unanswered

remove items from list using flow

(0) ShareShare
ReportReport
Posted on by 2,249

i have powerapps application,i have placed the remove button in the form,when i click the remove button ,it should trigger flow and should perform the deletion for the current item in the form when remove button is clicked and it removes the items based on the registrationID for below associated lists

MasterList

child1list

child2list

Categories:
I have the same question (0)
  • mahoneypat Profile Picture
    1,720 on at

    You don't need a flow to delete a SharePoint list item.  You can do it with RemoveIf as described in this previous post.

    Solved: How to delete a sharepoint record/row from PowerAp... - Power Platform Community (microsoft.com)

    Regards,

    Pat

  • Veblitz Profile Picture
    2,249 on at

    Thanks. I would like to explore using flow for the above scenario for quick update at list level.

  • Veblitz Profile Picture
    2,249 on at

    Kindly help ,using flow i would need some help for the below one

    i have powerapps application,i have placed the remove button in the form,when i click the remove button ,it should trigger flow and should perform the deletion for the current item in the form when remove button is clicked and it removes the items based on the registrationID for below associated lists

  • Julien Groud Profile Picture
    on at

    @Veblitz Could you provide some screenshots of your "Remove" button formula and the flow structure?
    Also, when clicking this button, what happens? Is the flow triggered and returning an error?

  • Veblitz Profile Picture
    2,249 on at

    my requirement is to delete the values in the list and associated child lists as per below list structure for the current item selected when delete button is clicked in powerapps form .first i would like to know how to setup  steps in the flow for below deletion 

    sharepoint List details

    (list)Mastertable ->Regid (column)
    (list)Child_Lookup->Rid(column)
    (list)child1_lo->Regid(column)
    (list)Attachments->Rid(column)
    (list)Attached_lib->ID (column)

  • Julien Groud Profile Picture
    on at

    From a flow, you can either delete an item of a list, or delete only its attachments.
    So you can use the [SharePoint - Delete item] action. It requires the site address, list name and item id.
    As long as you can provide these data to the flow from your app, you can user as many [Delete item] actions as you need.

    My understanding is that you need a flow with a PowerApps trigger, and then 5 [Delete item] actions.

    Each of these actions refer to 1 list (that you detailed above).
    Try it first with a hard-coded id and then replace that id by the "Ask in PowerApps" dynamic content.
    This way "id" will become an argument that you can pass from your Power Apps form button.
    Does it help? 

  • Veblitz Profile Picture
    2,249 on at

    Thanks!!!

    Each of the delete actions refers to different list  and the respective columns assoicated as specified in previous post and please help me for the same

    1.List Name:Mastertable
    2.List name: Child_Lookup
    3.List Name:child1_lo
    4.List Name:Attachments
    5.List name:Attached_lib

     

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard