-
1. Re: What is the usage of ProcessEngine.setAuthenticatedUserId
rebody May 6, 2010 4:00 AM (in response to newbeewan)Hi Jaber,
Actually, jBPM 4.3 didn't record the starter of process instances. Maybe you could join our discussion for this feature. There is the post url:
http://community.jboss.org/thread/150854?tstart=0
And the setAuthenticatedUserId() method used ThreadLocal to store the userId. It could transfer the login userId from outside of process engine to inside. So the component in process engine could use this userId to do something.
-
2. Re: What is the usage of ProcessEngine.setAuthenticatedUserId
newbeewan May 6, 2010 4:34 AM (in response to rebody)Thanks for your reply !
That's a real problem for the application I'm working on !
As my actual needs are really light, I will extend the processEngine, the executionservice, historyservice and add an entity to hibernate to make it possible.
It's only a quick and dirty wrapper without internal pvm modification !
Regards