The generated root state machine of Designer service comes with an integrated error handling.
All errors that occur on process execution are caught. |
Executable processes work with the concept of transactions. Transactions are equivalent to units of work, that are committed at the end of the session. In case an error occurs during a transaction, the following happens:
The process instance is displayed as erroneous. You can now
Rectify the error and send a retry signal
You can now look into the error and apply fixes if necessary. The last process step the process has reached is marked by a history state, so it is possible to trigger a retry from this very step. You can either trigger a manual retry, or the process could have auto retry enabled and automatically performs retries in given intervals.
Abort the process instance
Depending on the BPMN Element you have added your execution implementation to, the process state machine shows a different behavior.
Error In | BPMN Element | Behavior | |
---|---|---|---|
On Event |
|
| |
On Exit |
| ||
Get Data | User Task |
| |
Decision | Exclusive Gateway |
|