And / Or Logic not working as expected

I am having problems running and/or logic in the backend workflows.

I would like to only execute an action when the following logic is true.

(NewData is “yes” and Count is >0) or (NewData is “no” and Run# is 1 and Count is >0)

How can this be written so bubble understands the logic flow I am looking for?

As you’ve probably seen, Bubble evaluates expressions left to right, so you can’t bracket expressions within an expression.

I’d suggest having 2 separate workflows, each with an “only when” condition. Given your expressions, either one workflow will execute or the other. It may be easier to write them on the front end to experiment with them, then once you have them working, move them to the back end.

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