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

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

 

Releases

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.