Run Agent on "Event" question

Is there a way to make an agent run only when new documents are created? I don’t want it to run on modified or updated documents.

Thanks!!!

Subject: RE: Run Agent on “Event” question…

Have the agent set a field value in the new document. Use the Document Selection criteria of the agent to exclude documents containing that value in that field.

Subject: RE: Run Agent on “Event” question…

Or, provided the documents are all created from a form, call the agent from the QuerySave form event, if the document is new, e.g.

@IsNewDoc

-or-

notesDocument.isNewNote

-or-

notesUIDocument.isNewDoc