Hi there, @randyw… can you share more details and maybe some screenshots? What is the workflow you are trying to trigger? What does it do? Checking to see if the input’s value is empty in a condition on a workflow event should work, so without more details, it’s hard to know what’s going on.
@mikeloc A current workflow I have is triggered by “when and input’s value is changed”. The action I’m trying to achieve is a data update based on a “do a search for” condition. I have no problem with this when there is a value in the input field but I need to be able to trigger the inverse workflow when the input field is blank/empty.
Sorry, but I’m still not following because if you put an only when condition on a workflow event that says the event should run when the input’s value is empty, I’m thinking you should get the desired result, whatever that is. Again, screenshots would probably help.
I would suggest that you try it @mikeloc
See the screenshots below. Since the trigger is “When an Input’s Value is Changed” I don’t believe Bubble recognizes “null” as a value so it’s not triggering. Let me know if I need to clarify anything here.
Thanks for your help here @mikeloc Yes, I’ve debugged and I can’t see anything. Can you share your setup so I can see what the difference is? Do you see anything wrong with mine? Perhaps I can record a loom and share it with you.
Sure, a loom couldn’t hurt. My example wouldn’t help because it was just a simple example to see if the only when condition would work, and as I mentioned, it works as expected. Are you sure your search is returning an item? And because they often end up being the culprit, do you have any privacy rules in place that could be getting in the way?
Well, first, and most importantly, how’s the pizza?
Second, I must be missing something. I believe you are asking why a workflow event with a condition on it that checks to see if an input’s value is empty isn’t running, and you are entering a value into the input. So, the input is not, in fact, empty, and the workflow event is correctly not running. What am I missing here?
Ah, I get it now, and I know why it’s not working (which I just confirmed with my example). I’m pretty sure you have the This input should not be empty checkbox checked for that input, so the input won’t run a workflow when it’s value is changed and the input is empty because the input is not allowed to be empty.