Hi everybody,
is there any possibility to access the process variables after process execution has finished?
I am thinking about setting or updating variables in the map during process execution. But as I learned, the variables are only visible inside the current scope of the execution.
Is there anything planned on how Activiti processes persist their variables or pass them somehow to the "outside world"?
Frauke
—
This feature is indeed planned, the variables will be part of the history. You can track this here: http://jira.codehaus.org/browse/ACT-120
Activiti Core Developer
Hi all,
regarding process variables, is there a way to access them in a (Java) serviceTask injected as a spring bean (using activiti:method-expr="#{myService.doSomething}") ?
I can inject the runtimeService but I need the scopeInstanceId to access a variable (and it seems that it's not available).
Thanks & regards,
David.
Not in beta2, but for RC1 that is already implemented: you can now do things like #{myBean.myMethod(execution, myVariable}
Activiti Core Developer
My Blog: http://www.jorambarrez.com
That sounds perfect !
Thanks a lot,
David.