Automating workload using event rules
About this task
Beside doing plan-based job scheduling, you can automate workload based on demand with the aid of event rules. The objective of event rules is to carry out a predefined set of actions in response to specific events affecting HCL Workload Automation and non-HCL Workload Automation objects.
With
respect to HCL Workload Automation objects,
the product provides a plug-in that you can use to detect the following
events:
- A specific job or job stream:
- Changes status
- Is beyond its latest start time
- Is submitted
- Is cancelled
- Is restarted
- Becomes late
- A certain workstation:
- Changes status
- Changes its link status from its parent workstation
- Changes its link status from its child workstation
- A specific prompt is displayed or replied to
- The application server on a certain workstation is started or stopped
When any of these events takes place, any of the following
actions can be triggered:
- Submit a job stream, a job, or a task
- Reply to a prompt
- Run non-HCL Workload Automation commands
- Log an operator message
- Notify users via email
You can also define and run event rules that act either on the detection of one or more of these events or on a sequence or set of these events not completing within a specific length of time.
More information is available on Running event-driven workload automation.