# How To Delete Multiple Rows Conditional Thru Glide App?

**URL:** <https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057>\
**Category:** Ask for Help\
**Created:** [February 3, 2022, 10:12am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057 "2022-02-03T10:12:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kartik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kartik/32/37220_2.png) [@Kartik](https://community.glideapps.com/u/Kartik)\
**Post date:** [February 3, 2022, 10:12am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/1 "2022-02-03T10:12:34Z")

</div>

Hi Members,

Kindly guide me for deletion multiple rows conditionally thru Glide App. This is for your information that I am using Glide Table. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 3, 2022, 10:17am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/2 "2022-02-03T10:17:23Z")

</div>

At the moment, the only way to delete multiple rows from a Glide Table with a single action is via a custom action with multiple Delete Row actions - which isn’t very scalable.

My understanding is that the Glide API will be made available for apps on Pro Plans at sometime in the future, so that could be an option soon(ish).

---

<div class="post-metadata">

**Author:** ![Nestor\_Acosta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nestor_acosta/32/36643_2.png) [@Nestor\_Acosta](https://community.glideapps.com/u/Nestor_Acosta)\
**Post date:** [February 28, 2022, 8:40pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/3 "2022-02-28T20:40:02Z")

</div>

Hello, I am new to glide and this option interests me. Do you have an example to understand it better and be able to apply it? Thank you

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 1, 2022, 2:15am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/4 "2022-03-01T02:15:49Z")

</div>

Consider this as an alternative.

> [@Delete the data from a table of a dating application](https://community.glideapps.com/t/delete-the-data-from-a-table-of-a-dating-application/38993/3):
>
> I’ve considered doing something like this in my app to clean up old data. What I would do is create an IF column in the table with the dates. The IF column would check if the date is prior to Now. If it is, then return ‘true’ for a value. Then I would pick a section of the app that is viewed often by users. In the table that drives that part of the app, I would first create a template column with the word ‘true’. Then I would create a single relation that links the template column to the I…

---

<div class="post-metadata">

**Author:** ![rayo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rayo/32/91372_2.png) [@rayo](https://community.glideapps.com/u/rayo)\
**Post date:** [April 7, 2022, 7:12am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/5 "2022-04-07T07:12:30Z")

</div>

I delete rows in my restaurant app with a similar method.  
I have a table for waiter calls which records certain calls to the waiter with a time stamp.

In every waiter call row, there is a column IF Else True/ False if this row is available to delete. That is if the timestamp the row created is over 3 hours (for example)

In the same row as well there is a single relation to the first available row to delete.

Every time a new row is added to the table… the first available row to delete is deleted.

---

<div class="post-metadata">

**Author:** ![ismenc](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ismenc/32/46335_2.png) [@ismenc](https://community.glideapps.com/u/ismenc)\
**Post date:** [August 17, 2022, 7:50pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/6 "2022-08-17T19:50:29Z")

</div>

I think a multi-delete action should be added as it is impossible to workaround it.  
For some applications it is necessary and the workaround people is taking is like deleting one by one when some action is triggered, which is not good for user experience.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 18, 2022, 12:05am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/7 "2022-08-18T00:05:36Z")

</div>

> [@ismenc](#):
>
> I think a multi-delete action should be added as it is impossible to workaround it.

That would be ideal, but with the Glide API in action now, you can:

- Create a relation and joined list on top of it to return a list of rows that needs to be deleted.
- With a button, send that list to an external service like Make.
- Use an iteration module to loop through the array created from that list.
- Use a HTTP module to iteratively delete rows using the rowID you sent.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [August 18, 2022, 1:01am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/8 "2022-08-18T01:01:41Z")

</div>

Ya…I’ve gotten this to work as @ThinhDinh describes above, but it’s not intuitive. Set Column and Delete Row action over a multiple relation needs to be a thing. We’ve been asking for it since 2019. @Mark 🙏

---

<div class="post-metadata">

**Author:** ![Gregory](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gregory/32/21180_2.png) [@Gregory](https://community.glideapps.com/u/Gregory)\
**Post date:** [August 18, 2022, 7:38am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/9 "2022-08-18T07:38:30Z")

</div>

This is still one reason to use GoogleSheets: search rows in [make.com](http://make.com) or zapier → rowIDs-\> delete with GlideAPI.

To avoid GoogleSheets, I guess, we would need Glide’s API to have GET requests.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 19, 2022, 12:08am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/10 "2022-08-19T00:08:52Z")

</div>

> [@Gregory](#):
>
> To avoid GoogleSheets, I guess, we would need Glide’s API to have GET requests.

I have been waiting for this ever since the API gets introduced… Even getting all rows like what they have with enterprise would be great, the dream is to get a single row by specifying a column name and a value, I imagine.

---

<div class="post-metadata">

**Author:** ![ismenc](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ismenc/32/46335_2.png) [@ismenc](https://community.glideapps.com/u/ismenc)\
**Post date:** [August 19, 2022, 5:43pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/11 "2022-08-19T17:43:33Z")

</div>

Thanks. i will try that option. Seems better than anything else

---

<div class="post-metadata">

**Author:** ![Aymeric\_de\_Maussion](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aymeric_de_maussion/32/29505_2.png) [@Aymeric\_de\_Maussion](https://community.glideapps.com/u/Aymeric_de_Maussion)\
**Post date:** [August 19, 2022, 6:56pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/12 "2022-08-19T18:56:56Z")

</div>

I think today It’s a mandatory. Ok it works with Make, but this feature is really required in many apps.

---

<div class="post-metadata">

**Author:** ![Arturo\_VM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/arturo_vm/32/15104_2.png) [@Arturo\_VM](https://community.glideapps.com/u/Arturo_VM)\
**Post date:** [August 26, 2022, 5:02pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/13 "2022-08-26T17:02:34Z")

</div>

Hi guys! I have an app with multi “delete row” action but now is not working, did I miss something?

I have a button triggering an action with 100 “delete row” that was working fine until now that only deletes 1 row each time I press the button.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 26, 2022, 5:11pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/14 "2022-08-26T17:11:24Z")

</div>

Can you share how your delete row custom action works? What does each delete action look like? Are you deleting through a single relation? If so, what does the relation look like?

---

<div class="post-metadata">

**Author:** ![Anderek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anderek/32/11464_2.png) [@Anderek](https://community.glideapps.com/u/Anderek)\
**Post date:** [September 4, 2022, 3:43am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/15 "2022-09-04T03:43:53Z")

</div>

Hi.  
I will explain instead of Arturo\_VM.  
Previously, I could delete 3 lines in a custom action, but now only one . Something changed a month ago…

 ![2022-09-04_06-40-06](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e199f441aa7ab6662a60320f1c4110e918755b3f.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 5, 2022, 12:24am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/16 "2022-09-05T00:24:23Z")

</div>

Why do you have three “this item” delete though? Shouldn’t it point to 3 different rows?

---

<div class="post-metadata">

**Author:** ![Anderek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anderek/32/11464_2.png) [@Anderek](https://community.glideapps.com/u/Anderek)\
**Post date:** [September 7, 2022, 6:43am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/17 "2022-09-07T06:43:47Z")

</div>

For example, this was used to transfer goods from the basket to the order table. When I deleted a line , another line took its place. I could delete it too. And so on. Now, in any case, only one row is deleted, the remaining Delete Rows are ignored. How to fix this now is unclear.

---

<div class="post-metadata">

**Author:** ![Arturo\_VM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/arturo_vm/32/15104_2.png) [@Arturo\_VM](https://community.glideapps.com/u/Arturo_VM)\
**Post date:** [September 17, 2022, 2:37pm UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/18 "2022-09-17T14:37:53Z")

</div>

Hi Jeff,

Sorry for the delay I was on vacation.

As @Anderek said, I have a multiple “Delete Row” pointing to “this item” and since a month or so, it only deletes the first item and the rest remains the same.

How could I now delete all the rows in a table with one action?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 18, 2022, 12:55am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/19 "2022-09-18T00:55:52Z")

</div>

I still think this is the best way of doing it.

> [@How To Delete Multiple Rows Conditional Thru Glide App?](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/7):
>
> That would be ideal, but with the Glide API in action now, you can: Create a relation and joined list on top of it to return a list of rows that needs to be deleted. With a button, send that list to an external service like Make. Use an iteration module to loop through the array created from that list. Use a HTTP module to iteratively delete rows using the rowID you sent.

If you point multiple delete row actions and rely on the “current row” to be updated after every delete row action is completed, then it might not be completed in time for the next action to kick in. The action will likely retrieve the old, deleted row, hence nothing happened for the next ones.

---

<div class="post-metadata">

**Author:** ![Arturo\_VM](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/arturo_vm/32/15104_2.png) [@Arturo\_VM](https://community.glideapps.com/u/Arturo_VM)\
**Post date:** [October 2, 2022, 7:13am UTC](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057/20 "2022-10-02T07:13:01Z")

</div>

@ThinhDinh thank you very much for the solution.

By the way, do you know if the starter plan is enough for that action with de API requirements? I mean, the pricing plans say that starter plan have access to 'Glide basic API API, but with PRO TEAM you have ‘Glide advanced API’

Best Regards!

[Next page](https://community.glideapps.com/t/how-to-delete-multiple-rows-conditional-thru-glide-app/38057.md?page=2)
