Executing Event Objects
When you run an event, the system distinguishes event recognition and event handling.
Event Recognition
After the event has been activated and started, its status is Sleeping. From now on, the system permanently monitors whether an event occurs as specified in its definition pages. If an event occurs, it distinguishes between:
-
Real events
A signal is generated if a real event occurs. The responsible technical unit recognizes this signal and creates an event.
Real events are messages on a BS2000 Console, SNMP Traps, AE internal signals (agent start, blocking status of a workflow) or user signals via an interface, for example.
-
Polling events
No signal is generated if a polling event occurs. Instead, the system periodically checks if an event of this type has occurred.
Polling events are the presence or absence of particular files, the workload of the file system, command results (analyzes of values and status information of the OS) or SNMP values, for example.
Events can have values, which means that a particular value is monitored. The event is triggered as soon as this value exceeds a defined limit. Events without values have no values to be monitored. The occurrence of a defined condition represents the event.
Event Handling
This is the phase in which the contents of the Event Process page of the Event object is processed.
The post script of an event is not processed at its activation time. It is processed when the defined condition occurs. Active Event objects consider modifications made in the Event Process page. As there is no User Interface available at that time, the same limitations apply as for events that have been generated at runtime. For details see Executing Scripts.
Stop Executing
A running Event object can be stopped and restarted at any time by simply right-clicking on it and selecting Suspend or Go.
End Status
A normally ended event ends with status ENDED_OK, a canceled object ends with status ENDED_CANCEL.
An event with type FILE which ends because of its runtime settings, as defined on itsAttributes Pages of Executable Objects, without the conditions having occurred obtains the ENDED_TIMEOUT status.
Restarting Event Objects
Currently, the script is not processed when the event is restarted.
See also:
- Event Object (EVNT)
- Execution stages:
- Workflow Logic