AnsweredAssumed Answered

How to find error state from activiti tables

Question asked by rgoel on Dec 12, 2014
   I have a requirement to write  an exception handler , which will catch the exception, perform few other steps like send mail etc,  and then raise a wrapped exception because of which the activiti state will rollback . In the activiti flow , at some point , I need to check if any exception occurred in the above mentioned flow.

I stored boolean flag "isError" in activiti execution context and tried to check it after rollback. But obviously the execution context also rolls back.

Does activiti support any table/API which can tell me that error happened at this task or subprocess. I am using boundary error event handler.

Appreciate feedback.