Forum Documentation Showcase Pricing Learn more

:count is returning -1

I am doing a filter on a list that I want to trap the “nothing found” condition for.

When debugging I noticed that the count I am getting back is -1, rather than 0.

What does this signify ?

It’s something we use behind the scene when you do a comparison to a number in the logic expression. Our debugger shouldn’t return that, we’ll fix it, but it’s normal.

Thanks :smile:

I have “coded” round it by using if count <= 0.

Just wondered what it was. It isn’t just the debugger, as any workflow based on “count” would need to do this as well.