There is a need for mechanism from JBPM engine to return information about a problem occurred during the process execution.
At the moment, when an error happens during process execution, the current transaction is rolled back. This is reflected in the server logs, but there is no event generated, nor is the status of the process updated to reflect the fact that an error happened.
Such event should have as object data:
Process Model Data:
Instance process data that has failed:
Activity that failed:
- errorMessage: Message with the error that has occurred.
- errorStack: Stack with error detail.