

Working with Events › Events › Event Priority
Event Priority
In an Event definition, you can specify an Event priority to prioritize the triggering of Events scheduled at the same time. The Event priority is a number from 1 (lowest priority) through 10 (highest priority). The default Event priority is 5.
Whenever multiple Events are eligible for execution at the same time, the server observes the following rules:
- Events are triggered in descending order of their priority. The Event with the highest priority is triggered first.
- If multiple Events have the same priority, the server triggers the Event with the earliest execution time first.
- If multiple Events have the same priority and execution time, the server triggers the Event with the earliest trigger request time first.
- For scheduled Event executions, the trigger request time is the time the Event was last updated or created.
- For Event executions triggered manually, the trigger request time is the time the command was issued.
- For Event executions triggered based on a particular condition, the trigger request time is the time the server processed the agent notification indicating the occurrence of the condition.
Example: Processing Multiple Events at the Same Time
If the server is processing multiple Events that trigger at the same time, an Event with a higher priority can execute before an Event that has an earlier execution time. Consider the following scenario:
- 10 Events with priority 5 are scheduled to trigger at midnight (00:00:00).
- An Event with priority 6 is scheduled to trigger one second later (00:00:01).
Assuming that the server takes more than one second to trigger the 10 Events, the Event scheduled at 00:00:01 may trigger before some of the Events scheduled at 00:00:00.
More information:
Create an Event
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|