Schedule RunAgent only on Documents in a selected view

I have several thousand documents in database and would like to run an agent on a View that is only displaying about 100 documents. When I create the agent “ON EVENT” I can select to run the agent on only the selected view. The target options when I create the agent, as scheduled, are All Dcuments or New and Modified. It is neither.Can I create a scheduled agent for a specific view?

Thanks for your time.

Subject: Schedule RunAgent only on Documents in a selected view.

Sure. Select All Documents, then go to the Document Selection section of the agent to refine your criteria. In this case, click the Add Condition button and choose In Folder, which will allow you to limit the agent to running on documents in a specific folder or, despite the name, view.

Subject: RE: Schedule RunAgent only on Documents in a selected view.

You cannot use the selection criteria called ‘selected in view’ but you can do it many different ways. You can write code that gets the document in the specified view, or you can specify search criteria.

“Troubleshooting agents in R5 and r6” (in the Agent FAQ) has a nice table of which search criterias and triggers are valid on the client and which ones are valid in the server. If you have not read it, it is a useful reference.

Subject: RE: Schedule RunAgent only on Documents in a selected view.

Becca,Thanks for the info, this will help greatly.

Thanks for your time.

JA

Subject: RE: Schedule RunAgent only on Documents in a selected view.

Thanks for the response, works great.

JA