Hello everyone,
I'm wondering if it is possible to put a listener somewhere to get alerted when a transaction ends successfully. This is, imagine you have a User Task and a Service Task after. When User Task is completed, the Service Task is invoked and the transaction finishes when the Service Task finishes.
Putting some listeners in the User Task (complete and delete task or end execution listeners) does not work because this are invoked when the task completed, and not the transaction.
If there is no way you can "listen" when a transaction finishes... in case of rollback the Start or Create events of the User Task will be fired again ??.
The point is, I need to run some code when the transaction is successful or -failing that- to execute that code when Task is completed but rest assured that if the transaction fails then the Create or Start the events on the User Task will be triggered again.
Thanks for your time!
Cristian.