Quick tip: use agent selections compatible with your target version of Domino
Category domino
I was just asked if I knew the cause of the following error message:
The agent reporting the error had been written in Domino Designer 8 but was running on Domino 7. In 8, "None" was added as a valid target for scheduled agents, but since that target is new, an agent using that target will only run on 8 or above. If you receive this error (or a variation upon it), reset the trigger ("on event" / "on schedule") and target to a combination valid for your target environment and use case.
NOTE: the only impact I am aware of in changing the target from "None" to "All documents in database" is (sorry if this is already obvious) that it causes a call to NotesDatabase.UnprocessedDocuments (when the NotesDatabase handle is equivalent to NotesSession.CurrentDatabase) to return a NotesDocumentCollection containing all documents in the current database. If you were previously using "None" as the target, this doesn't matter since you weren't using UnprocessedDocuments anyway. Theoretically there should be at least a slight performance benefit from using "None" as the target now in 8, but so far I haven't seen significant differences between the two.
I was just asked if I knew the cause of the following error message:
Lotus Notes Exception - Unsupported trigger and search type for agent being run in the background
The agent reporting the error had been written in Domino Designer 8 but was running on Domino 7. In 8, "None" was added as a valid target for scheduled agents, but since that target is new, an agent using that target will only run on 8 or above. If you receive this error (or a variation upon it), reset the trigger ("on event" / "on schedule") and target to a combination valid for your target environment and use case.
NOTE: the only impact I am aware of in changing the target from "None" to "All documents in database" is (sorry if this is already obvious) that it causes a call to NotesDatabase.UnprocessedDocuments (when the NotesDatabase handle is equivalent to NotesSession.CurrentDatabase) to return a NotesDocumentCollection containing all documents in the current database. If you were previously using "None" as the target, this doesn't matter since you weren't using UnprocessedDocuments anyway. Theoretically there should be at least a slight performance benefit from using "None" as the target now in 8, but so far I haven't seen significant differences between the two.
Comments
Posted by Tim Tripcony At 12:41:40 AM On 07/26/2008 | - Website - |
Posted by Bruce At 12:09:49 AM On 07/26/2008 | - Website - |