There are a number of ways of dealing with potential faults in
your business process.
Here are some of your options:
- Use a terminate activity to stop the execution of a process or an activity
altogether.
- Use a reply activity with a fault name associated with it so that it will
respond with a fault.
- Use a throw activity to signal an internal fault.
- Use a fault handler to catch a fault and attempt to deal with it.
- Use compensation to handle a process that has failed after committing
either itself as a whole (a microflow) or at least one of its activities (a
long-running process).