Mauricio Salatino [
https://community.jboss.org/people/salaboy21] created the discussion
"Re: How to know who has started a process?"
To view the discussion, visit:
https://community.jboss.org/message/810968#810968
--------------------------------------------------------------
We are already storing that information inside the jBPM Console NG logs. What we are doing
is to use the currently logged user and store it in the process execution logs. Then you
can query those logs in order to pick up the information about which user started a
process. You can take a look at the ProcessInstanceLog class which already has the place
to store the identity of the user that is starting the process:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bam/src/main/java/org...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bam/src/main/java/org...
Depending on how you get the currently logged user in your application is how you will
fill this attribute.
Cheers
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/810968#810968]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]