[jbpm-dev] [Design of JBoss jBPM] - Why is a ProcessInstance not the same as an Execution
thomas.diesler@jboss.com
do-not-reply at jboss.com
Mon Jul 7 09:32:11 EDT 2008
Relates to
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138615
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3PublicAPI
The ProcessDefinition is the static definition of a process. An Execution is a specific execution of a process.
There is however the notion of ProcessDefinition plus an associated set of meta data. For example an organization has a defined process for 'Order Processing' However, Order Processing is slightly different per region (i.e. different regional managers)
It would be incorrect to force a duplication of the ProcessDefinition per region. Instead we introduce the notion of ProcessInstance that can be configured through additional metadata
| pim.createProcessInstance(pd, "apac.properties");
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162852#4162852
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162852
More information about the jbpm-dev
mailing list