# Actions not executing correctly

**URL:** <https://community.glideapps.com/t/actions-not-executing-correctly/56725>\
**Category:** Report a Bug\
**Created:** [January 15, 2023, 10:23am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725 "2023-01-15T10:23:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [January 15, 2023, 10:23am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/1 "2023-01-15T10:23:38Z")

</div>

Hello guys, I found out that my actions are not executing as they should.  
I have a custom action set to go on after user submits a form. Here is the screenshot of stream of actions.

 ![Screenshot 2023-01-15 at 11.21.31](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/a/0a0f42f0f1182d5c2d497f1712bee278abde6428.png)

However, once user submits the form, the only action that takes place is the first one (add a row to task table). However, no email is being send or notification showed. It used to work a week ago when I first set it up.

Any ideas where might be a problem?

---

<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:** [January 15, 2023, 10:34am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/2 "2023-01-15T10:34:50Z")

</div>

Is the Add Row adding a row to a separate table from the form?

ie. The form adds a row, and then your on submit action adds a row to some other table?

---

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [January 15, 2023, 10:44am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/3 "2023-01-15T10:44:19Z")

</div>

Yes. The form is adding a row to the insurance table and the action is adding another row to the “tasks” table for employees to take care of it.

---

<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:** [January 15, 2023, 10:46am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/4 "2023-01-15T10:46:45Z")

</div>

Okay. mmm, that should work fine. I guess my only suggestion would be to try deleting the action and recreate it.

---

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [January 15, 2023, 10:49am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/5 "2023-01-15T10:49:38Z")

</div>

Tried a few times… Did not 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:** [January 15, 2023, 10:52am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/6 "2023-01-15T10:52:48Z")

</div>

What about changing the order of the actions?  
eg. Send the email first.  
It shouldn’t make any difference, but you never know…

---

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [January 15, 2023, 11:00am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/7 "2023-01-15T11:00:13Z")

</div>

This time it won’t even add a row. Looks like the action is stopping on this email element.

Thanks to this finding I checked the “send email” action and found out there probably was a problem with subject. Sometimes it sourced subject from an empty row and since you cannot send an email without subject from glide, it did not send an email and the set of actions was broken.

So solution was to change subject.

---

<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:** [January 16, 2023, 11:00am UTC](https://community.glideapps.com/t/actions-not-executing-correctly/56725/8 "2023-01-16T11:00:36Z")

</div>

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