Hi Dhanush, the ActivityFailureEvent is fired when an activity enters a failure and needs manual recovery. Note that there is a difference between Faults and Failures. Faults are expected exceptions, like declared SOAP faults, or the BPEL standard faults like selectionFailure (yes, the term failure is a bit misleading here). Failures on the other side are unexpected exceptions like a connection reset, timeout, etc. In this case the activity cannot complete properly (not even with a fault) so that it enters the failure state and can then be recovered manually via the PM API.
HTH, Tammo On 03.06.2010 13:07, Dhanush Gopinath wrote: > Hi, > > > > I just realized that any failure of process execution (for e.g. > selectionFailure) doesn't throw the ActivityFailureEvent event. But > instead it throws the process completion event. As a result of this I am > not able to capture Process Failure. Any idea when the failure event is > thrown? > > > > Thanks & Regards > > Dhanush Gopinath > > > > -- Tammo van Lessen - http://www.taval.de
