Defines a screen class exit handler.

A Handler is similar to a Function except that it is automatically executed when the associated event occurs. The Screen class exit handler is a handler associated with the exit from a screen class event. It is executed when Convertigo detects the screen class corresponding to this Screen class exit handler, after having executed the extraction rules associated with this screen class.
In other words, a Screen class exit handler is executed when leaving the screen class associated with this handler.
Notes:

• A Screen class exit handler contains other statements that define the actions to be performed on this screen class. It can return a result value (accumulate by default as it is an exit handler).
Screen class exit handlers can only be added to a transaction, one Screen class exit handler for each screen class 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 Screen class 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.
Screen class String standard Defines the screen class to be monitored.
This property allows to associate the Screen class handler with the screen class on which it is executed. The possible values for this property are generated from the screen classes defined in the connector.
If the screen class is renamed in the connector, the Screen class property of associated Screen class handlers (entry or exit) are automatically updated.