Agents can exist in any of three states:
Ready – the running state for a scheduled agent. When you create a schedule for an agent and change that agent’s status to Ready, the agent automatically runs based on the schedule you specified.
Stopped – the state for agents that do not run on a schedule. New agents are always created in a Stopped state. Select Run to run an agent with a Stopped status once.
Deleted – agents that have been deleted. Until you dump the database, the agent record still exists in the portal database table.
Modifying agent status and executing an agent once
Select the agent’s current state from the Agent Manager Status menu.
Select the agent in the detail pane.
From the Agent Manager toolbar, select:
Run – to run any agent with any status once.
Start – to change an agent’s status from Stopped or Deleted to Ready.
Stop – to change an agent’s status from Ready to Stopped.
You can also right-click on an agent, select Status,
and choose the status from the pop-up that appears.
To run an agent repeatedly, create a schedule for the agent and change the agent’s status to Ready. See “Schedule tab” for details.
Creating new agents
When you create an agent, you create a schedule, create rules, and specify actions and error management.
Select Automate | Agents from the Web Studio left pane.
Select New above the detail pane. You see the Agent Builder window.
The Agent Builder has four tabs. For details, see:
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |