Checked checkboxes CustomState Unexpected behaviour

Hello,
I am currently encountering some strange behaviour.

I have a series of checkboxes in a repeating group. As soon as a checkbox is clicked, it is entered in a custom state or removed, depending on whether it is checked or not.

The whole thing works fine if I have debug_mode=true on, but not if debug_mode is removed.

The workflow looks like this.


I now know that there can be differences in the timing of the debug_mode and the way Bubble processes workflows.

But how can I solve this problem in my case? I’m at a dead end and am probably overlooking something totally obvious.

Please help from the community.

Change the setup so that you have your conditionals on the trigger instead of action…this basically will result in two triggers each with one action.

What happens is your two steps basically cancel eachother out in some scenarios because of the conditions on the actions.