# Last task in custom actions stops working randomly

**URL:** <https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187>\
**Category:** Report a Bug\
**Created:** [January 29, 2024, 8:50am UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187 "2024-01-29T08:50:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hrishika\_Awasthi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hrishika_awasthi/32/67581_2.png) [@Hrishika\_Awasthi](https://community.glideapps.com/u/Hrishika_Awasthi)\
**Post date:** [January 29, 2024, 8:50am UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/1 "2024-01-29T08:50:11Z")

</div>

In a lot of my custom actions that have 2-3 tasks within them, the last task stops working sometimes. When I change the order of the tasks, it again starts working fine.

My app has a lot of actions…I don’t even know which ones have stopped working until I manually test them. Why does the last task stops happening like this?

---

<div class="post-metadata">

**Author:** ![l3oy8231](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/l3oy8231/32/32303_2.png) [@l3oy8231](https://community.glideapps.com/u/l3oy8231)\
**Post date:** [January 29, 2024, 8:59am UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/2 "2024-01-29T08:59:36Z")

</div>

I found this bug 3-4 days ago.

I checked and found that the action to send email by glide has a problem.

Any action before that worked normally, but when it came to the action to send an email It doesn’t work and The next action doesn’t work. and without any notification (Email action can send email normally. My recipient received the email)

I don’t know what the cause is. There may be other actions that have this problem. But I only found this for my app, so I deleted the email sending action for now.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 29, 2024, 7:25pm UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/3 "2024-01-29T19:25:43Z")

</div>

> [@Hrishika\_Awasthi](#):
>
> In a lot of my custom actions that have 2-3 tasks within them, the last task stops working sometimes. When I change the order of the tasks, it again starts working fine.

Does this happen with different action types?

Is it always the last action?

---

<div class="post-metadata">

**Author:** ![Hrishika\_Awasthi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hrishika_awasthi/32/67581_2.png) [@Hrishika\_Awasthi](https://community.glideapps.com/u/Hrishika_Awasthi)\
**Post date:** [January 30, 2024, 8:38am UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/4 "2024-01-30T08:38:49Z")

</div>

Yes, I just saw that too. Its the email ones

---

<div class="post-metadata">

**Author:** ![Hrishika\_Awasthi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hrishika_awasthi/32/67581_2.png) [@Hrishika\_Awasthi](https://community.glideapps.com/u/Hrishika_Awasthi)\
**Post date:** [January 30, 2024, 8:39am UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/5 "2024-01-30T08:39:16Z")

</div>

This is the last action always.  
Usually, its the one after email is sent.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 30, 2024, 6:29pm UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/6 "2024-01-30T18:29:45Z")

</div>

Alright, sounds like this is related to the bug we’re investigating. The recommended workaround right now is to move your Send Email action to the final step in the sequence.

---

<div class="post-metadata">

**Author:** ![Christian\_G](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christian_g/32/39858_2.png) [@Christian\_G](https://community.glideapps.com/u/Christian_G)\
**Post date:** [February 2, 2024, 1:22pm UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/7 "2024-02-02T13:22:07Z")

</div>

We believe we released a fix for this yesterday. Could please someone confirm that everything is working fine now? Sorry for the disruption! 🙏

---

<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 2, 2024, 6:45pm UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/8 "2024-02-02T18:45:03Z")

</div>

> [@Button Not Working](https://community.glideapps.com/t/button-not-working/69898/24):
>
> I just did a quick test, and it appears to be working. Send Email action isn’t logged (should it be?), but all actions in the sequence ran.

---

<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 9, 2024, 6:45pm UTC](https://community.glideapps.com/t/last-task-in-custom-actions-stops-working-randomly/70187/9 "2024-02-09T18:45:07Z")

</div>

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