AUTOMATING TASKS USING SIMPLE AGENTS
About this task
To create an agent, you must first open the application and then click Create -> Agent. IBM® Notes® displays the Agent Properties box and opens the Programmer's pane.
Procedure
1. In the Agent Properties box, click the Basics tab, and then enter a name for the agent in the Name field.
2. Optional: Enter a comment in the Comment field. Comments appear in the agents list.
3. Select Shared if this agent will be used by other users. Select Private if you want the agent to be an agent that only you can run.
6. In the Runtime section of the properties box, choose one of the following triggers for the agent. Different options appear depending on the trigger you choose.
Note: Depending on the trigger you choose, you may need to select which documents the agent runs on in the Target field.
8. Close the Agent properties box after you have completed the necessary fields.
9. In the Programmer's pane, click Add Action to open the Add Action dialog box and specify a simple action for the agent to perform. (Choose actions in the order you want them to run.)
10. If you want the agent to search for a document, select the Objects tab and then Document Selection. Click the Add Condition button to display the Add Condition dialog box and set up search conditions.
11. Click File -> Save to save the agent in the application.
Parent topic: Working with agents
Related tasks Managing agents Triggering an agent on an event Triggering an agent on a schedule Viewing a list of agents
Related reference Agent security Naming agents Table of document selection conditions Table of simple agent actions