Handling errors in a workflow

1 view
Skip to first unread message

shlomo....@gmail.com

unread,
Aug 13, 2008, 5:28:40 AM8/13/08
to lifegu...@googlegroups.com
Hi,

What can I do in my executeService method to indicate to the
AbstractBaseService that there was an error and the workflow should
not progress to the next service?

I'm specifically dealing with a service that produces no output files.

I could add a Param to the request indicating the service was
successful, and have subsequent services look for it. But this breaks
the encapsulation of the service, so I don't want to go that way.

.. Shlomo

David Kavanagh

unread,
Aug 13, 2008, 8:43:34 AM8/13/08
to lifegu...@googlegroups.com
If you throw a ServiceException, that would do it.
Reply all
Reply to author
Forward
0 new messages