I’m trying to create an agent that alerts me whenever a document has been created in a specific database. Therfore I need to create an agent that is triggered when a new unread document is present (new & modified) can someone help?Thank you in advance.
Subject: Running an agent on UNREAD documents only
“Subscription” feature of Notes is exactly what you are looking for. Select the database and from the menu click Create>Subscription.
You may explore all the options.
cheers !!
Ashish
Subject: RE: Running an agent on UNREAD documents only
Thank you for your input Ashis, but subscriptions still doesn’t do it for me. I need to be sent an email when an item has been added or modified to my helpdesk database. With subscriptions, I still have to manually check it every time.
Regards
Subject: RE: Running an agent on UNREAD documents only
Try using a FolderOptions field to add modified documents to folder x. If that works (I don’t remember precisely what that field does) use an agent whose trigger is documents-have-been-modified, but make this agent act not on modified documents but on the contents of the folder. The agent empties the folder as part of its process. If the folder is empty the agent does nothing.
Subject: Running an agent on UNREAD documents only
Why doesn’t the system just send you a mail when the doc is created as part of the FileSave function (or LS equivelent)? Rather than depending on something to happen after the doc is created (ie scheduled agent run), the mail is just sent automatically?
If you need an agent, just crank one up every hour, have it select docs with some flag field that is null, email you, and then set the flag to ‘mail sent’.
HTH
Doug