I have a weird issue where i have a “Make changes to a thing”, which is a “do search for:first item”.
I want to th debugger step by step ensuring my database is empty of this type up to the point this make changes runs. The moment the step runs, bubble creates that thing. However it seems that this option is off.
I was hoping to return null and then use the not empty for the next step to create that thing, so i don’t have to do another “search for”, seems like a wasteful way to do this.
Hello @jonah.deleseleuc and @adamhholmes, thank you for your responses. Well, it turns out the issue is even weirder than I thought it to be.
While doing a side by side for the video, I noticed that the entry is created before it even reaches the modify clause! I even deleted the “Only when” clause and it still creates the thing fully populated before the debugger reaches on this step (see photo attached).
I don’t have any relevant backend workflows, only for totally other things for sending emails, delete users, and retrieve dates. Nothing that works on the bookings or offers part of the database.
I checked all the elements above and bellow “Submit”, I don’t have any other workflows that could trigger together (even if they were, they should show on debug mode).
I tested also without totally empty database, but this is not the issue either.
The condition you’re using on the ‘Create a new thing’ must be wrong.
Share some screenshots of your full workflow setup, showing the exact searches and condition being used at every step (or better still, share a link to your editor).
The logic of the beginning of your workflow isn’t right. Creating an offer should come first, and there should be a condition it. The next step should also have a condition on it, but it shouldn’t depend on step 1. You should have a condition such as “if offer exists is no” on step 1 and “if offer exists is yes” on step 2.
Thank you everyone for your answers, turns out @adamhholmes is right.
If I delete the create workflow, this does not happen. I naively assumed that debugger stops the workflows and executes them step by step, which obviously as seen here is not the case.
@adamhholmes, yes works as expected, I just wanted to know this for future reference.