Feeding an array of parameters to a query

I asked what I think is a similar question a while back and @eastgate Mark provided a solution:

My request was to avoid repeating $Prototype==, and he suggested

  1. Make a note – say a top-level note named InterestingPrototypes.
  2. Set $MySet of InterestingPrototypes to the list of your interesting prototypes — perhaps “Task;Project;MaybeSomeday”
  3. In your agent, the query becomes
     $MySet(/InterestingPrototypes).contains($Prototype

Does that help?

1 Like