Tinderbox Forum

Agent for collecting notes with certain flags

(Sergey Glukhov) #1

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

(Paul Walters) #2

Over here, the agent works if the query is


(Mark Anderson) #3

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.

(Sergey Glukhov) #4

Thank you! After your post it started working.