IBM BPM, V8.0.1, All platforms > Get started with IBM BPM > Key concepts > BPEL processes and human tasks > BPEL processes overview > Fault and compensation handling in BPEL processes
Compensation handling in BPEL processes
Compensation processing is a means of handling faults in a running process instance for which compensation is defined in the process model. Compensation reverses the effects of operations, which were committed up to when the fault occurred, to get back to a consistent state.
You can define compensation for long-running processes and for microflows in your process model.
- Compensation handling in BPEL microflows
Compensation for microflows is also known as technical compensation. This type of compensation is triggered when the transaction, or the activity session, that contains the microflow is rolled back.- Compensation handling in long-running BPEL processes
Compensation for long-running processes is also known as business-level compensation. The compensation logic can be defined on the scope level, for invoke activities, or for human task activities. This means that either a single invoke activity or human task activity, or a set of activities in a scope can be compensated.
Fault and compensation handling in BPEL processes
Related concepts:
Transactional behavior of microflows
Related information:
Use compensation in processes with Business Process Choreographer