# Delete Row workflow

**URL:** https://community.glideapps.com/t/delete-row-workflow/79877
**Category:** Ask for Help
**Created:** [February 7, 2025, 1:34pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877 "2025-02-07T13:34:51Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![SaunaMedia](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SaunaMedia](https://community.glideapps.com/u/SaunaMedia)
#### Post date: [February 7, 2025, 1:34pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/1 "2025-02-07T13:34:51Z")

</div>

This should be easy for you! Thank you for helping!

Hello Glide Community!

Since days I’m encountering the same problem to a basic function, with no solution found.

I’m new to Glide, watched all the video content and asked ChatGPT and the support bot for help - no solution.

Problem Description:

I have set up a Glide workflow that should trigger when the “Infusion Assemble” button is pressed in the “Infusion Selection” table. The workflow is intended to delete all previous scent selections made by the current user in the following tables:

- Scent Selection 1
- Scent Selection 2
- Scent Selection 3

Setup:

I have created relations in the “Infusion Selection” table linking the User-ID to the corresponding scent selection tables using the column User ID. The relations are configured to Match multiple rows.

In the Glide workflow, the “Delete Row” action is used to delete all related rows based on these relations.

What is not working:

When the workflow is triggered, the Delete Row action does not delete any rows from the Scent Selection tables.  
I have confirmed that the relations are correctly established, as they show the expected related entries.  
Even when I remove the conditions and use a direct Delete Row action linked to the relation, the rows are still not being deleted.

Request:

What could be preventing the Delete Row action from working as expected in this setup?

Are there any known issues or specific settings required for relations or Delete Row actions in Glide workflows that could be causing this behavior?

What should I do? Thank you for your help!

---

<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 7, 2025, 1:40pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/2 "2025-02-07T13:40:01Z")

</div>

Have a look in your workflow run log. That should provide a clue.

Some screen shots would be useful to help troubleshoot. Show us how your workflow is configured, and the related tables/columns.

---

<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 7, 2025, 2:21pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/4 "2025-02-07T14:21:11Z")

</div>

When you open the workflow, you should see “Run History” in the top right corner, and a list of runs. Clicking any of those will show the details for the given run. Please check there and show me what you see.

 ![CleanShot 2025-02-07 at 22.20.56@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/1/11ff912e441095f4d3417a086c9c133601f06eb3.png)

---

<div class="post-metadata">

### Author: ![SaunaMedia](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SaunaMedia](https://community.glideapps.com/u/SaunaMedia)
#### Post date: [February 7, 2025, 2:22pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/5 "2025-02-07T14:22:35Z")

</div>

This is what I see. Thank you so much, you are a lifesaver Darren!

 ![Bildschirmfoto 2025-02-07 um 15.21.51](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/2/520d2cec4979df91fb7e35a5cac5745c796a6890.png)

---

<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 7, 2025, 2:25pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/6 "2025-02-07T14:25:01Z")

</div>

If you expand those Delete row steps (click the curly brackets), what do you see?

---

<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 7, 2025, 2:28pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/8 "2025-02-07T14:28:19Z")

</div>

So each Delete row step is deleting a single row. Is that what you expect?

---

<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 7, 2025, 2:41pm UTC](https://community.glideapps.com/t/delete-row-workflow/79877/10 "2025-02-07T14:41:37Z")

</div>

It kind of makes sense, but I get the feeling that you are making this much more complicated than it needs to be. Perhaps we should take a step back a bit…

If you are deleting rows, then I assume that means that each time a user makes a selection a row will be added?

This seems to me to be completely un-neccessary. What I would do instead is just write the selections as a joined list in a single user specific column, split that and use it to make the relations, and then when you want to clear the selection just clear the user specific column.

Maybe I’m missing something, but does that not seem a simpler approach?

---

<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: [February 8, 2025, 1:21am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/12 "2025-02-08T01:21:18Z")

</div>

So would each “session” consume one row of “selections” in your flow? Say I have a session in your app and choose as many as I want, do you want to store it in my historical data, or would they all be deleted after a session?

---

<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: [February 9, 2025, 1:49am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/14 "2025-02-09T01:49:58Z")

</div>

> [@SaunaMedia](#):
>
> I tried to do it like this, but it only functions for the User 1 and not for User 2. If user 1 presses the button, his row gets deleted. If User 2 presses the button, the row of user 1 gets deleted

This sounds like your screen/workflow is attaching to the wrong user.

 ![CleanShot 2025-02-09 at 08.49.14](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/3/c3613d171551223ae174b5a1eb2fd782417f1e9b.jpeg)

I assume this is where you add rows. Wouldn’t this part need to be the signed-in user’s ID?

---

<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: [February 10, 2025, 12:57am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/16 "2025-02-10T00:57:15Z")

</div>

Thank you, usually I use the rowID for that, but if that User ID is unique, you can use it as well.

Can you please record a video using [Loom](https://loom.com) for your problem?

---

<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: [February 11, 2025, 12:21am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/18 "2025-02-11T00:21:12Z")

</div>

Is the “chosen” data only shown to the user? Or does it get shown to the admins as well?

---

<div class="post-metadata">

### Author: ![SaunaMedia](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SaunaMedia](https://community.glideapps.com/u/SaunaMedia)
#### Post date: [February 11, 2025, 12:43am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/19 "2025-02-11T00:43:42Z")

</div>

It is only shown to the user that is logged in.

But the deletion only happens to the user in the first row of the choice overview table “Aufgusswahl”, regardless of who presses the button.

For now, I don’t have admin status, I just have the same user role. (If you mean that.)

Thank you for your help!

---

<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: [February 11, 2025, 12:54am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/20 "2025-02-11T00:54:22Z")

</div>

I think you can simplify this.

Add columns to the user profiles table that would hold these choices, you don’t need to add a row each time.

Based on those choices, you can show a collection that contains info from those choices, let’s say a rowID.

On navigation to the screen the next time, clear those columns.

---

<div class="post-metadata">

### Author: ![SaunaMedia](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SaunaMedia](https://community.glideapps.com/u/SaunaMedia)
#### Post date: [February 12, 2025, 12:49am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/21 "2025-02-12T00:49:37Z")

</div>

Thank you so much, you are a lifesaver. That worked!

---

<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: [February 12, 2025, 12:56am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/22 "2025-02-12T00:56:21Z")

</div>

Great to hear! Thanks for the videos!

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [February 19, 2025, 12:57am UTC](https://community.glideapps.com/t/delete-row-workflow/79877/23 "2025-02-19T00:57:09Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
