-
1. Re: The 'correct' way to join application data to a workflow
kukeltje Apr 14, 2008 4:42 AM (in response to nathancoast)jbpm has the notion of a businesskey, which corresponds to option 3. That is also what we use internally
-
2. Re: The 'correct' way to join application data to a workflow
twiceknightly Apr 14, 2008 9:28 AM (in response to nathancoast)"kukeltje" wrote:
jbpm has the notion of a businesskey
Can you expand on that? -
3. Re: The 'correct' way to join application data to a workflow
kukeltje Apr 14, 2008 12:15 PM (in response to nathancoast)http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/graph/exe/ProcessInstance.html#setKey(java.lang.String)
or use the contstructor of ProcessInstance
with http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/JbpmContext.html#loadProcessInstance(org.jbpm.graph.def.ProcessDefinition,%20java.lang.String) you can retrieve instances based on the businesskey.
For a discussion on the businesskey see: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100895
I did not find anything in the docs for it, so that needs to be added.
From seam:
http://docs.jboss.com/seam/2.0.1.GA/api/org/jboss/seam/bpm/BusinessProcess.html -
4. Re: The 'correct' way to join application data to a workflow
twiceknightly Apr 23, 2008 10:05 AM (in response to nathancoast)That's a fantasic answer and a lot of help, cheers kukeltje
"kukeltje" wrote:
http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/graph/exe/ProcessInstance.html#setKey(java.lang.String)
or use the contstructor of ProcessInstance
with http://docs.jboss.com/jbpm/v3.2/javadoc-jpdl/org/jbpm/JbpmContext.html#loadProcessInstance(org.jbpm.graph.def.ProcessDefinition,%20java.lang.String) you can retrieve instances based on the businesskey.
For a discussion on the businesskey see: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100895
I did not find anything in the docs for it, so that needs to be added.
From seam:
http://docs.jboss.com/seam/2.0.1.GA/api/org/jboss/seam/bpm/BusinessProcess.html