pefernan opened a new issue, #2009: URL: https://github.com/apache/incubator-kie-issues/issues/2009
**Important:** This error is only reproducible with Transactions enabled. When there's an error in any node instance **AFTER** completing a User Task (or any workItem), the error is correctly captured and the process instance is set in error state but the process stores the wrong `nodeInstanceId`, taking the id of the node that executed previously to the User Task, while it should be the id of task node instance. For example, in the following process, `Service Task` is configured to fail. After completing the `Before` task, the error generated in `Service Task` will bubble up to `Script Task` Node Instance but it won't ever reach the `Before` Node Instance. This will make the process instance stay in a `wrong` state since the transaction will be rolled back and will keep `Before` user task as active node, and the previous execution of Script & Service Task nodes won't be commited.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
