I want to create a smart adornment that uses the name of the adornment in the AgentQuery of the adornment.
I thought $PID == $Name;
would do it, but that gives me notes where the name of the note and the PD are equal, which upon reflection makes a lot of sense! What query would give me “notes with the PID of the name of this adornment?”