Missing Context and variables in TransactionalEventListener

Hi all,

In one of our task completion listeners we communicate with a third party system and delete certain data there. If there is a failure in a subsequent task in the same transaction, I want to roll back these changes to the third party system. I implemented a Spring TransactionalEventListener for this, and the transaction listener is called correctly when a rollback is triggered. But inside this transaction listener I need to (among other things) evaluate a JUEL expression, the evaluation tries to call Context.getProcessEngineConfiguration(), and that call returns null in this transaction listener. Additionally, task variables seem to be missing that existed during the actual completion.

Is there a way to keep/access the original context that existed during the completion of the task?