If you have an asynchronous task which is a JavaDelegate task, and it throws an exception, then Activiti can automatically retry it a number of times according to a schedule, as is described in section 8.7.2 of the user manual.
What happens to a process instance when the retry counter reaches zero? Does it just stay waiting at the failed task forever?
Is it possible to query for processes which have gotten into such a state, and is it possible to manually retry such a task (e.g. through an API call)?