[Activiti 6] Error event for Script task failure

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2016 07:33 AM
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. 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?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2016 04:41 AM
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.
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.
