AnsweredAssumed Answered

When to use an Error End Event?

Question asked by zlatan316 on Jan 20, 2014
Latest reply on Jan 20, 2014 by tstephen
Im currently learning about the Error Handling side of Activiti and I was just wondering, when would I ever need to handle errors if it is already being done in my Java code? I know the designers of Activiti have made a logical decision to implement it, but I cannot see why yet and would like some guidance:)

For example, if I had a Service Task which set an errorVariable to true if an error was caught, why can I not just use an Exclusive Gateway to check this variable has been set to true, then run a class which handles the error and then finishes the flow with an End Event?