I have a service task which throws an exception .
In the catch block, another spring bean method is called to update the process variables
The process variable set by spring bean method is not stored as the whole transaction is rolled back. (Which is expected)
In the spring bean method, I added @Transactional(propagation = Propagation.REQUIRES_NEW)
thinking that it will create a new transaction and update the process variable.
But this change is also getting rolled back it seems.
I use a JDBC connection to a Microsoft SQL database.