@event::terminate

Terminates this event and event resolution business process.

If the event is not directly related to the script context, the event will simply be terminated and the calling script will continue to execute.

Syntax:

@event::terminate()

Parameters:

None

Returns:

None

Example:

The following example illustrates the use of terminate() as part of a theoretical scenario where this event resolution business process has created peer event resolution business processes. Some conditions have occurred so this event resolution business process should now terminate this event and all related processing. In this case, the terminate() will act as an exit statement due to the direct relationship of the executing event resolution business process to the event itself.

# Terminate this event and event resolution business process.

@event::terminate()