# Issue with CREATE DATA in workflow

**URL:** <https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444>\
**Category:** Need help\
**Created:** [November 17, 2025, 11:26am UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444 "2025-11-17T11:26:03Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpichot.design](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lpichot.design](https://forum.bubble.io/u/lpichot.design)\
**Post date:** [November 17, 2025, 11:26am UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/1 "2025-11-17T11:26:03Z")

</div>

Hello all,  
I’m newbie using bubble.  
I don’t understand the way works the workflow I’ve created.  
On the event click of a button, I check unity of the data before creating it in database.  
I’ve a few steps before the step CREATE DATA.  
BUT when I’m using the debugger, at the first step the data is allready created far before the step containing the CREATE DATA.  
I’m turning mad with that comportment, Could someone explain me what’ I’m doing wrong ?  
Thanks a lot for your precious help.

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [November 17, 2025, 2:44pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/2 "2025-11-17T14:44:30Z")

</div>

You’re probably not doing anything wrong. The issue (and what drives many people crazy) is that Bubble workflows don’t always run in the order you build them. Yes, it doesn’t make sense, but that’s how it works. And sometimes this causes logical issues. Workflows run asynchronously, but there _are_ ways to force them to respect a specific order.

Could you share your workflow (and the problems you’re running into with it) so we can help you organize it correctly?

---

<div class="post-metadata">

**Author:** ![connect10](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/connect10/32/243460_2.png) [@connect10](https://forum.bubble.io/u/connect10)\
**Post date:** [November 17, 2025, 3:54pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/3 "2025-11-17T15:54:17Z")

</div>

Hi! It sounds like your workflow might be **triggering the “Create Data” step earlier than you expect** , which usually happens if you’re using **“Make changes to a thing” or “Schedule workflow”** actions before the actual Create step, or if there’s **a workflow running on page load** that creates the data automatically.

Make sure the “Create a thing” step is the first action that actually creates data, and check that no “Make changes to a thing” actions or other workflows are running before it. Using the debugger step by step and temporarily disabling other actions can help you see what’s happening.

Hope this helps! Keep experimenting, Bubble can be tricky at first but gets easier.

---

<div class="post-metadata">

**Author:** ![lpichot.design](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lpichot.design](https://forum.bubble.io/u/lpichot.design)\
**Post date:** [November 17, 2025, 6:34pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/4 "2025-11-17T18:34:55Z")

</div>

Many thanks for helping !  
Here is my workflow 🙂  
I just added pause actions between steps but It doesn’t change any thing.  
As you can see, I’ve put the functional events in Custom Events.  
Account\_already\_exists to check unicity  
Nbmax\_membres\_atteint to check a counter  
And finally Create\_membre to insert data in database.

When I use the debugger, at first step (Bton\_inscription2 is clicked) the Data Entry membre is created, before controls ☹

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/9/f9568011448327bd46e064bdc6926e775e718829.png)

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [November 17, 2025, 7:41pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/5 "2025-11-17T19:41:39Z")

</div>

Can you explain why the action of create a new member, beeing triggered first, is resulting in some issues?

Becausa I noticed that you already inserted conditions in the “Only When” field of your Step 7, that will prevent you to create duplicated records…

---

<div class="post-metadata">

**Author:** ![wdconnors](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wdconnors](https://forum.bubble.io/u/wdconnors)\
**Post date:** [November 17, 2025, 8:00pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/6 "2025-11-17T20:00:12Z")

</div>

The pause action also does not impact database activities.

---

<div class="post-metadata">

**Author:** ![lpichot.design](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lpichot.design](https://forum.bubble.io/u/lpichot.design)\
**Post date:** [November 18, 2025, 7:39am UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/7 "2025-11-18T07:39:40Z")

</div>

It’s an issue because step 3 and 5 are controls to verify unicity of the new member.  
Creating the Member before controling its unicity is totally unconsistant.

Is there just a simple way to play steps in order I wish them to do ?

I have removed the pause steps (that are unconsistent) and i ran my workflow again 🙂  
Juste after clicking the button the debugger shoes the first step of my workflow:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/1/a1b4cb2178b24dfc2571b10e666ace977e2f9550.png)

But as you can see below, the data type Membre is created much early as I expect it :

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/b/4beab9d8c039b18fe6881c4f472e0b1f7dfc34c8.png)

I am looking for a solution that simply performs the workflow in the order I expect.

Thanks

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [November 18, 2025, 3:00pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/8 "2025-11-18T15:00:27Z")

</div>

But what exactly are you doing inside that _Custom Event_ that checks for unicity? Why don’t you place that validation directly in the **Only When** field of the event that creates the record?

Your step 7 (which is the one that creates the new member) doesn’t depend on any previous step. That’s why Bubble is processing it immediately. If the creation of this new member needs to depend on previous steps, you must condition that somehow.

---

<div class="post-metadata">

**Author:** ![lpichot.design](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lpichot.design](https://forum.bubble.io/u/lpichot.design)\
**Post date:** [November 18, 2025, 3:47pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/9 "2025-11-18T15:47:56Z")

</div>

I’m turning mad with that workflow…

Well, let’s keep it simple. Here is what I have done to simplify the test, but still got the same issue.

I just add a new button on my page, that calls the following worflow when it is clicked:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/6/46392e864fffb5c8af5be04e1982b7f555f2dc0d.png)

My page looks like this just before clicking:

The counter (id #1) is the do search that’s in the only when of the CE Create\_Membre  
My button for the tests is the one red-ringed.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/e/3ee58dfe13f3a429dfa5e6bc10b831fe18704e1d.png)

The I click on “valider form test” and here is the first step of debugging mode:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/d/cdebcdeace82640762372c977338d5f123c8acf2.png)

As you can see, the counter has changed to “1” BUT I did not see the debugger pass in the Trigger Create\_member.  
The data entry has been created as I didn’t expect it to be:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/b/ab2af0bcecea938aa65f46c83fcc2f8565e11217.png)

I don’t understand what’s wrong !

Many thanks to you

---

<div class="post-metadata">

**Author:** ![rpetribu](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rpetribu/32/90852_2.png) [@rpetribu](https://forum.bubble.io/u/rpetribu)\
**Post date:** [November 18, 2025, 5:01pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/10 "2025-11-18T17:01:54Z")

</div>

I went through a similar issue once. Even when splitting my workflows into “custom events,” they were still being executed out of order, specifically one that involved “Create a thing.”

I understand that what’s bothering you is that the workflow is being executed earlier than it should. But the important thing is to understand what problems this is actually causing you, because I see that the unicity is already being checked in the “Only When” field. Is there anything else you need to validate or wait for before creating this new member?

Working with Bubble is like that. Sometimes the best path isn’t a straight line.

---

<div class="post-metadata">

**Author:** ![lpichot.design](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lpichot.design](https://forum.bubble.io/u/lpichot.design)\
**Post date:** [November 18, 2025, 5:20pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/11 "2025-11-18T17:20:02Z")

</div>

My bad !!!  
I was misled because it appears that the database is updated before the debugging steps are carried out. That troubled me!

It seems now to process as i expect it  
Even if I find the way to proceed not “natural” because in theory you do the unicity check before creating elements, playing with “only when” seems to meet my needs.  
I have to change my way of thinking, I Thank you for your really precious help !

---

<div class="post-metadata">

**Author:** ![wdconnors](https://avatars.discourse-cdn.com/v4/letter/w/e8c25b/32.png) [@wdconnors](https://forum.bubble.io/u/wdconnors)\
**Post date:** [November 18, 2025, 5:36pm UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/12 "2025-11-18T17:36:34Z")

</div>

Yes, this is correct. The debugger is not helpful in situations like this unfortunately.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [January 26, 2026, 11:26am UTC](https://forum.bubble.io/t/issue-with-create-data-in-workflow/385444/13 "2026-01-26T11:26:57Z")

</div>

Closed on January 26, 2026, 11:26am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
