3.3.4 Higher-Layer Triggered Events
The application MUST be prepared to process a set of higher-layer events described in this section and in Message Processing Events and Sequencing Rules (section 3.3.5). These events are triggered by decisions that are made by the higher-layer business logic of the application. The motivations and details of the higher-layer business logic are specific to the implementation of the application and the software environment in which it executes.
When the application processes one of the higher-layer events described in this section and section 3.3.5, it MUST communicate one of the following results to the higher-layer business logic:
Success
Failure
Transaction Committed
Transaction Aborted
Transaction In Doubt
If the processing of a higher-layer event includes a Message Processing event, the associated Message Processing event MUST communicate one of the above results to the higher-layer business logic.