It would be great to have a
<error-participant ref="my-error-handler" />
that allows a flow designer to specify which
participant should get all unexpected errors during the
forward of the work item from one participant to another.
This error-participant would be invoked if the target
participant (including else-ref) is not found and if
any exception is thrown anywhere during the transition
(e.g. a bug in the engine, a transient failure,...).
This solves the situation where work items silently
disappear from the worklist if something bad is going on
which can be a major headache in a production system.
Typical usage would be that the my-error-handler is a
apre that analyses the work item / failure cases and
send out some emails to the previous participant, to
the system administrators, ...
Log in to post a comment.