Error Handling Sample project
Content Type: Sample
Categories: Tracing,Data
Overview
Do you want to understand how custom error handling works?
This is a sample project in which you can test different scenarios of error handling. You can restart over and over again by resetting the initial situation. If you set breakpoints.
Scenarios included are:
- A happy flow
- Standard error handling
- Custom error handling with rollback
- Custom error handling without rollback
- Sub microflow with normal end event
- Sub microflow with error end event
- Main flow custom without Rollback, Sub microflow custom without rollback and regular end event
- Main flow custom without Rollback, Sub microflow custom without rollback and error end event
- Main flow custom without Rollback, Sub microflow custom with rollback and regular end event
- Main flow custom without Rollback, Sub microflow custom with rollback and error end event
- Main flow Standard error handling, Sub microflow custom without rollback and regular end event
- Main flow Standard error handling, Sub microflow custom without rollback and error end event
- Main flow Standard error handling, Sub microflow custom with rollback and regular end event
- Main flow Standard error handling, Sub microflow custom with rollback and error end event
- Batch processing error handling inside a loop using custom error handling with- and without rollback
- Batch processing error handling inside a loop using customer error handling without rollback, but using rollback activity
- Both scenario's with commits in the sub microflow or main microflow
Furthermore it uses both console logging and writing log records
Feel free to add to request other scenarios.
A medium Post with an explanation can be found here.
Documentation
Demo urlhttps://errorhandlingmx10-sandbox.mxapps.io/
Typical usage scenario
Test different error handling scenarios
Features and limitations
Not all combinations of with/without rollback combined with sub microflow regular end event or error end event are included, but with 14 examples a lot is covered.
Additional explanation on Medium and more about error handling in a loop
Releases
Version: 3.0.0
Framework Version: 10.12.9
Release Notes: Added batch processing and error handling scenarios in a loop, using a sub microflow
- Custom error handling with rollback
- Custom error handling without rollback
- Custom error handling without rollback, using rollback activities
- Processing with commits inside the sub microflow
- Processing with commits in the main microflow
Version: 2.2.0
Framework Version: 10.12.5
Release Notes: Upgrade to 10.12.5 MTS
added 1 index
Version: 2.1.0
Framework Version: 10.6.11
Release Notes: - Mx update
- minor cosmetic update
Version: 2.0.0
Framework Version: 10.6.10
Release Notes: *Added additional scenarios:
Main flow custom without Rollback, Sub microflow custom without rollback and regular end event
Main flow custom without Rollback, Sub microflow custom without rollback and error end event
Main flow custom without Rollback, Sub microflow custom with rollback and regular end event
Main flow custom without Rollback, Sub microflow custom with rollback and error end event
Main flow Standard error handling, Sub microflow custom without rollback and regular end event
Main flow Standard error handling, Sub microflow custom without rollback and error end event
Main flow Standard error handling, Sub microflow custom with rollback and regular end event
Main flow Standard error handling, Sub microflow custom with rollback and error end event
*Added writing log records (thank you Jarno Koopman) for requesting this.
*Some general improvements and sanitizing
Version: 1.0.0
Framework Version: 10.6.9
Release Notes: Version 1 of the sample project was used to write a medium blog post. URL will be added later.