The example model and sources provided in this section demonstrate how to implement a custom ErrorCase. It is based on an example implementation of the IActivityInstanceMonitor SPI, but can be adapted to any SPI implementation that needs to provide custom ErrorCases.
Click the following link to download the tutorial ZIP
file containing the example sources in folder
Please find the according tutorial in the Programming Guide: