Hi everyone, I’m trying to debug what looks like inconsistent list/count behaviour in AppSheet.
I have documents that can be acknowledged by many tenants for a specific property.
For the logged-in tenant, the checklist view behaves correctly. When there is nothing left to acknowledge, the checklist is blank.
I also have a second view that shows acknowledged documents.
The problem is with a weekly bot that sends reminder emails for outstanding acknowledgments. The bot keeps firing even when the tenant-facing checklist is empty, because COUNT(CheckListDocs[_RowNumber]) is evaluating to 1 instead of 0.
One of the tests I’ve tried is comparing the two lists in a virtual column:
COUNT(CheckListDocs[_RowNumber]) - COUNT(AcknowledgedDocuments[_RowNumber])
This works inconsistently. Sometimes it appears correct while testing, but after saving, refreshing, or switching users, the result changes and becomes incorrect again.
I’m wondering whether this could be related to how AppSheet handles empty versus blank list values, for example:
COUNT(LIST()) = 0
COUNT(LIST("")) = 1
So I’m questioning whether the bot, slice, or VC is ending up with a list containing a blank value rather than a truly empty list.
Has anyone seen this kind of behaviour before, where:
-
the checklist is correct
-
but the bot still thinks one record remains
-
(bot runs with security bypass security filters and for Each Row In Table)
-
and VC/list comparisons seem to evaluate inconsistently depending on refresh/save/user context?
I’d be especially interested in whether this could be related to user context, security filters, bots evaluating outside the interactive user session, or list expressions returning a blank item instead of an empty list. ![]()

