Hello everybody,
is it possible to interfere at the moment when Activiti persists data before returning from a transaction in an asynchronus process?
What I like to do is to pass some session related variables (like the user name) to the process. So that these variables are accessible AFTER the jobExecutor has aquired the next task.
See 2nd image in chapter "Transactions and Concurrency: Asynchronous Continuations" of the Activiti User Guide:
I mean to interfere at the point of the 2nd red dotted line in the image. Here I would like to add some data to the variables map BEFORE it is persisted.
Is something like that possible?
The other side we already have:
We have overwritten the JobManager so that the additional data can be passed to the process when the JobExecuter resumes the asynchronous task.
I hope, someone understands what I am talking about, my English is not that great!
Thanks for your help…
Frauke