cancel
Showing results for 
Search instead for 
Did you mean: 

[Activiti 6] Error event for Script task failure

bond007
Champ in-the-making
Champ in-the-making
Hi,

1.  Please let me know whether any event( of type ActivitiEvent ) will be triggered when a script task fails?
2.  When is the event ACTIVITI_ERROR_EVENT triggered?
3.  Can you let me know how to implement Boundary error event?


1 REPLY 1

jbarrez
Star Contributor
Star Contributor
1. No, but you could catch in it the script itself. Or use an exception mapping (http://activiti.org/userguide/index.html#exceptionMapping), although that is only for service tasks i think …

2. When a BPMN error event is triggered. See the docs on the rror event

3. It's already implemented in the engine … not sure what your question is? There are many examples in the unit tests that use boundary error events.