Tinderbox Forum

Agent for collecting notes with certain flags

I like very much the Flags option for visually marking notes. I wanted to create an Agent capable of collecting notes with certain flags, in my case “A1.red”. For this purpose I used AgentQuery $Flags.icontains(“A1.red”), but it didn’t work. Please tell me where I am wrong.

Sergey Glukhov

Over here, the agent works if the query is


It maybe a forum auto-correct but do ensure your action code uses paired straight double (or single) quotes. I tested this agent query:


It happily matched Flag values of both A1.red and a1.red.

Thank you! After your post it started working.

1 Like