Orbit
1
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 
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
Orbit
3
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