We would like to design and implement our order management system as a workflow 
using JBPM. 

An ?Order? goes through various states like  ?submitted?, ?approved?, 
?executed? and ?archived?. 
In the object world, we do have an ?Order? object with an attribute called 
?OrderStatus? to represent this ?Order? status.

In the workflow world, this is realized as workflow states and workflow 
transition to next state based on various factors.

Now my design issues is how should I model the ?OrderStatus? attribute? If I 
model this as part of the Order object, it is very much possible that some can 
potentially update this ?Order Status? for an ?Order?, which will make the 
workflow status out of synch with ?Order?. 

Can I make this as part of the workflow? If it is possible to associate this 
with workflow (as process variable?) then do I need to query the workflow to 
get the status of the order? Or can I just join this at database level?

Thanks,
Arshad

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949491#3949491

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949491


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to