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:

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: