Handling Workflow Exceptions
What is the best way to handle exceptions in workflow?
Suppose a workflow step calls a method in a business object which in turn calls a function. Now an exception is raised in the function, the workflow just sits at that step with an "In Process" status. I would like the workflow to get an error status so that it can be restarted.
How can this be achieved? Thanks in advance