elguardian opened a new issue, #1550:
URL: https://github.com/apache/incubator-kie-issues/issues/1550

   The logic for setting the error mistake is in here
   
https://github.com/apache/incubator-kie-kogito-runtimes/blob/d679d3db24b857dbcf6c20b376a8e2ef07848a5f/jbpm/jbpm-flow/src/main/java/org/jbpm/workflow/instance/impl/NodeInstanceImpl.java#L263-L265
   
   In the case of transaction we need to duck the exception and bubble it up.
   
   So we need the logic in there to check whether the process is transactional 
and then do something acordingly.
   
   There are two scenarios to test.
   1. starting process with failure. It could be something like Start Node -> 
Script node (throwing a runtime exception) -> end node and verify that no 
information has been written
   2. other process Start Node -> human task -> script node (throw runtime 
exception) -> end node. and verify that no new information has beend added 
after the exectuion of the complete human task.


-- 
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]

Reply via email to