"Only when" condition preventing workflow to run?

Hello Bubble Community!

I’m trying to set up a workflow that sends an email to a user when a new IP address is detected during login. Everything works perfectly without the “Only when” condition, the email is sent as expected.

However, as soon as I add a condition like this:

Only when: Search for Device Info (constraints: IP = Result of Step 2's IP):count is 0

…the email is never sent, even if the Device Info database is completely empty (i.e., there are no existing records to match = 0).

Not sure what im doing wrong here?
Open to any help that might be able to point me in the right direction :slight_smile:

But aren’t you creating the Device Info entry in step 2? (with no conditions by the looks of it).

So the count will never be 0.

1 Like

Omg that is true haha… thank you, Adam! Then i will move it around and put create new device info after and just fetch the IP form the Java script to bubble element…

1 Like

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