Defines a transaction default exit handler.

A Handler is similar to a Function except that it is automatically executed when the associated event occurs. The Default exit handler is an exit screen class handler, associated with an exit from a screen class event. If present in a transaction, it is executed when no specific screen class exit handler is defined for the currently detected screen class. In other words, it is a generic screen class exit handler.
Thus, Default exit handler can be defined for multiple screen classes on which the programmer knows that the same actions are to be done.
Beware that this handler will be executed for the Default_screen_class screen class if no specific handler is defined for this screen class. As the Default_screen_class screen class matches every page that is not defined in the connector, this handler can potentially be executed on a lot of unmanaged pages. Such behaviors can lead to infinite loop transactions.
Notes:

• A Default exit handler contains other statements that define the actions to be performed. It can return a result value (accumulate by default as it is an exit handler).
Default exit handlers can only be added to a transaction, one Default exit handler per transaction.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Infinite loop protection boolean standard Defines whether the handler should be protected against infinite loops in transaction.
If set to true (default value), the handler prevents infinite loops by throwing a Convertigo Engine exception when an infinite loop is detected.
Default value should not be changed unless you specifically want the handler to authorize loops in transaction.
Is active boolean standard Defines whether the statement is active.
Result String standard Defines the handler’s default resulting value.
Depending on the handler type, this property can be chosen among several available values.
For a Default exit handler, this property can take the following values:

<empty> or "": stops the process and ends the transaction,
continue: similar to <empty> value,
accumulate: accumulates extracted data (data is extracted from last detected screen class then added to any other extracted data) and redetects a new screen class.

Note: The Handler’s default return value defined thanks to this property can be overridden by a child Return statement.