A cancel trigger can be attached to an intermediate event. The resulting event type is always attached to the boundary of a transaction action. It acts as a mechanism to interrupt this transaction action.
In the following example, when buying concert tickets online, if the payment succeeds the tickets are purchased. If the tickets are not paid, the payment action triggers a cancel action. This cancellation action also results in the Cancel Tickets action and the process ends.