PROGRAMMING OVERVIEW AND USER INTERFACE

Generating an AgentContext document
The AgentContext document is stored in AgentRunner.nsf. AgentRunner.nsf is automatically placed in your Domino Data directory when you install Lotus Domino Designer Release 6.

1. Create a Java agent in a database and import the CLASS files from your project. The base class must extend DebugAgentBase.

2. Run the agent to generate an AgentContext document in AgentRunner.nsf.

3. Open AgentRunner.nsf and examine the most recent AgentContext document.

4. Note the name of the server, the file path of the database, and the name of the agent. Local is the name of the server for a database on your local hard drive.

5. In Edit mode, change the "Agent Runs On" and "Search Criteria" fields to generate the UnprocesssedDocuments collection that you would like to use for debugging purposes. You must supply this information because it cannot be determined from running the agent.

Notes


See Also