[Solved] Agents Flag queries selects all flags

HI,
I’ve a simple agent which is supposed to pick up all notes with flag solid black color but running this collects all notes with any flag. Could you please guide me to what I’m doing wrong

$Flags,icontains("black");

Flags Color Query.tbx (87.2 KB)

I think it’s just that you’re using a comma before icontains, which isn’t correct: it should be a dot/full stop/period, as in:

$Flags.icontains("black");

When you change to the above, the query works and picks the right note.

HTH.

Unknown

3 Likes