IBM BPM, V8.0.1, All platforms > Troubleshooting and support > Troubleshooting administration tasks and tools > Troubleshooting BPEL processes and human tasks > Troubleshooting the execution of BPEL processes
A fault is not caught by the fault handler
A fault handler is attached to an invoke activity to catch specific faults that are thrown by the invoked service. However, even if the invoked service returns the expected fault, the fault handler is not run.
Reason
A common reason for this problem is that the fault handler does not have a fault variable to catch the data that is associated with the fault. If a fault has associated fault data, it is caught by a fault handler only when one of the following situations apply:
- The name of the fault handler matches the fault name and it has a fault variable with a data type that matches the type of the data associated with the fault
- The fault handler does not specify a fault name but it has a fault variable with a data type that matches the type of the data associated with the fault
- The catchAll fault handler is specified
Resolution
Add a fault variable to the fault handler. Ensure that the data type of the fault variable matches the type of the data that is associated with the fault.
Troubleshooting the execution of BPEL processes
Related concepts:
Fault handling
Retrieval of fault data for BPEL processes
Related tasks:
Dealing with faults in your process in Integration Designer