Agent that queries prototype notes as aliases

Hi Everyone,

I’m two days in and l have a newbie question that I haven’t found answered on the forum (probably because I may be using the wrong terms).

What code would I use to create an agent that collects notes of a specific prototype.

Here is how far I’ve gotten: $Prototype=="note_prototype" which finds all of the notes on this type. What I can’t seem to figure out is how to make them visible inside the agent container.

For now I don’t want any sorting, just that they show up inside this agent.

Any help is appreciated including better search terms for further study.

If your agent reports it is finding things, then the aliases are there. In outline view, click the disclosure triangle to the left of the agents icon:

Untitled%202019-09-16%2021-41-24

…to show the aliases:

Untitled%202019-09-16%2021-42-16

In map view, select the agent:

Untitled%202019-09-16%2021-43-35

…and either double-click in the child view area of the icon or use the down-arrow key. Either with drill down a level to show you the map within the agent and the aliases therein:

Untitled%202019-09-16%2021-47-03

Does that help?

@mwra,

That did help. In outline view I noticed that my alias was not in the agent container. It was behind it. I deleted and re-created the agent and it is working as expected. Thanks again for explaining this to me.

1 Like