AnsweredAssumed Answered

Querying Process Instance with unexpected errors

Question asked by russinholi on May 25, 2016
Latest reply on May 27, 2016 by russinholi
Hi all,

I'd like to know how to query, if it's possible, only process instances that occurred unexpected errors, for example if in a Service Task the bean called threw a NullPointerException.

If I query all unfinished processes using HistoricProcessInstanceQuery or query all active processes instance using ProcessInstanceQuery, those instances with the unexpected error are returned, but they are mixed with other instances that are really active.

I need to indentify those instances with error, is it possible?