Charles Aznavour [
http://community.jboss.org/people/charles_a] replied to the discussion
"Insert user information for process instance"
To view the discussion, visit:
http://community.jboss.org/message/554957#554957
--------------------------------------------------------------
Hi guys,
some input:
* capturing the initiator shouldn´t be linked in any way with tasks. We have processes
withtout tasks, but we still need the information who started this process
* we use a swimlane for the initiator. The swimlane evaluates a variables we pass in on
process start. In the process we use this swimlane to reference to the initiator.
* after a process has finished the initiator information shoudn´t be lost. We need to be
able to find process instances (running and finished) "per initiator".
Therefore, we additionally create a history variables to persist this information.
Currently, we provide the initiator information on process start to let the swimlane know
the value. And then, we create a history variable for it, which is (programatically) only
possible after the process has been started. A bit of the same work twice, but it works
and happens automatically in our system. We did´t want to the user to specifiy history
variables it in the process definition for the initiator, as it´s a requirement that must
always be met.
Cheers,
Charles
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/554957#554957]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]