We have a common work item handler which is used at multiple locations across processes. When we are trying to complete the work item handler we get an error saying :
ERROR org.drools.persistence.SingleSessionCommandService - Could not commit session
No active JTA transaction on joinTransaction call
We just set some process level variable values while completing the workitemhandler. We have printed all the values and none of the the values are null.
The same work item handler gets completed successfully when executed as part of a different process. We have cross verifed both the processes and the configuration is exactly the same, the input output parameters etc as the same for both processes.
Can you please let us know what the error could be ?
Unfortunately we wont be able to share the exact code implemented in the handlers.