I’m experiencing a strange behaviour on some workflows that have been working correctly for months. I don’t know when it started but I noticed it today. I’ve been able to replicate in a test page.
So here’s what happens:
When I try to count the number of users that have a given email in order to display it in a text, everything works as expected:
=> When a user is found, the :count: is 1, else it’s 0
But when I try to do it as a condition in a workflow (for example to check if the user exists), I get “-1” as a result when it should be “0” if nothing has been found:
It has broken some of my workflows so I had to change the conditions from “count is 0” to “count <= 0” so everything works again.
But still, it’s not working the same way it was before, and I think it might be a bug.
Does anyone know more about this?