# Workflow not executing properly

**URL:** <https://community.weweb.io/t/workflow-not-executing-properly/3101>\
**Category:** Ask us anything\
**Created:** [June 17, 2023, 9:32pm UTC](https://community.weweb.io/t/workflow-not-executing-properly/3101 "2023-06-17T21:32:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RCS](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@RCS](https://community.weweb.io/u/RCS)\
**Post date:** [June 17, 2023, 9:32pm UTC](https://community.weweb.io/t/workflow-not-executing-properly/3101/1 "2023-06-17T21:32:17Z")

</div>

Another wonky thing going on right now. This was working up until today.

When I am in my workflow, it properly updates a variable:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c347679140265eb4bedfa7b58387bdce819240d6.png)

However, when I click on it from the preview it doesn’t work. I look into the workflow, and the temp variable value I use doesn’t carry through in the workflow.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/5473ec92cb6a97a07ff7a99d5d7d88df7eb2ad18.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 19, 2023, 4:21pm UTC](https://community.weweb.io/t/workflow-not-executing-properly/3101/2 "2023-06-19T16:21:00Z")

</div>

Hi @RCS 👋

Is this workflow triggered on click of a button? If yes, can you check that the button is not disabled:

 ![CleanShot 2023-06-19 at 18.16.25@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/7/7828438361c0d5c975632acdff5f8d95a2e81c5e.png)

If that’s not the issue, could you record a short video:

- in preview mode,
- with the browser inspector open on `Network`,
- and click where the workflow is supposed to be triggered?

![CleanShot 2023-06-19 at 18.18.50](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/941cc20b63dbf74b5c00633e967b2d6c728dbb61.gif)

This will help us see if the workflow is triggered or not.

---

<div class="post-metadata">

**Author:** ![RCS](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@RCS](https://community.weweb.io/u/RCS)\
**Post date:** [June 19, 2023, 9:33pm UTC](https://community.weweb.io/t/workflow-not-executing-properly/3101/3 "2023-06-19T21:33:05Z")

</div>

Here are 2 videos

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/ca3c8b20a718e2231499b3790c26085d47637eb8.jpeg "Weweb workflow bug? pt 1") ](https://www.youtube.com/watch?v=ipCm3v5R_S4)

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0f3623f1eefab2717f67d62f6f85386ca98bf8cc.jpeg " - YouTube") ](https://www.youtube.com/watch?v=_7ISevlGuYY)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 22, 2023, 3:58pm UTC](https://community.weweb.io/t/workflow-not-executing-properly/3101/4 "2023-06-22T15:58:32Z")

</div>

Hi @RCS 👋

Thanks so much for taking the time to put this together, really appreciate it!

Can’t quite figure out what’s going on. It looks like the workflow is not triggered on the first click but I’ll need to dig deeper. Could you send me a link to your project in a private message so I can investigate further?
