Table of contents


Official Content

It indicates that an embedded subprocess needs to be rolled back.

Symbol

Cancel End Event BPD

Description

When this event is reached, it causes the current thread and all other active threads to end immediately, regardless of their respective states.

It is only possible to attach a Cancel Intermediate Event to the embedded subprocess, so once the subprocess is undone, this enables the flow to continue down the path indicated by this event.

To do a rollback you need to associate each activity with a Compensate Intermediate Event.

Example

The following example shows how the Cancel End Event is usually used with Error and Compensate events. If an error occurs due to a lack of availability for any reservation, the flow moves down to a Cancel End Event. This will activate the rollback process and any reservation activity that has been completed will be undone. Note that tasks are undone in the reverse order in which they were completed.

Cancel End Event Example

Scope

Objects: Business Process Diagram

See Also

Compensate Intermediate Event
Cancel Intermediate Event
Error Intermediate Event in BPD
Error Handling in BPD



Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant