Before you begin, plan your agent carefully. For example, decide what type of agent you want (simple action, formula, LotusScript, imported Java, or Java), what it will act upon, where it will run, how it will be invoked, whether it will perform restricted or unrestricted operations, and under whose ID it should run (run on behalf of).
1. In Designer, open the database in which you want to create an agent.
2. Choose Create - Design - Agent. The Agent Properties box appears.
3. On the Basics tab, enter a name for the agent in the Name field.
5. Click Shared if this agent will be used by other users. A shared agent is one that other users have access to. Note that ownership of a shared agent can be reassigned to another user who saves or re-signs the agent.
Beginning with Lotus Domino Designer 6, you have the option of converting a private agent to a shared agent or a shared agent to a private agent.
To get the full benefit of this feature, the database should reside on a server and the agent must be invoked via the client.
If you check this box and the agent references front end classes, the user receives a run-time error.
10. Close the Agent Properties box after you have filled in the necessary fields.
11. From the Run list in the Programmer's pane, choose one of the following to define the agent’s automated components:
For additional information on using the Enable, Disable, and Sign buttons, see Useful agent procedures.
For additional information on agent security, see Security for agents on servers and the Web.
For troubleshooting information, see Troubleshooting agents.