AUTOMATING TASKS USING SIMPLE AGENTS


Creating agents
You can create a basic agent in an application to help you automate tasks.

To create an agent, you must first open the application and then click Create > Agent. IBMR Lotus NotesR displays the Agent Properties box and opens the Programmer's pane.

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.

4. If the agent will search for text in documents, you can specify the following settings in the Options section: 5. (Optional) To run agents that do not appear in the user interface, select Run in background client thread.

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.


7. Click the Security tab of the Agent Properties box to set up security for the agent.

8. Close the Agent properties box after you have filled in 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.

Related topics
Agent security
Managing agents
Naming agents
Table of document selection conditions
Table of simple agent actions
Triggering an agent on an event
Triggering an agent on a schedule
Viewing a list of agents