[jboss-user] [jBPM] New message: "How to model order/items"
Jonathan Fields
do-not-reply at jboss.com
Thu Mar 4 16:39:02 EST 2010
User development,
A new message was posted in the thread "How to model order/items":
http://community.jboss.org/message/530055#530055
Author : Jonathan Fields
Profile : http://community.jboss.org/people/JonathanDFields
Message:
--------------------------------------------------------------
Hi All,
I'm new to JBPM but am having problems understanding how I would model a simple order/items scenario.Hopefully this is not a FAQ, but I have a feeling it might be. But I've looked and have not yet been able to find an answer.
I have an order, that has some order level tasks that must occur first. Then, for each item on the order, there is a sequence of tasks that need to occur in parallel to complete the item. Once all of the item-level tasks are completed, then the order level process should resume with some final tasks to complete the order.
So essentially, the business process must fork into N concurrent branches, where N is the variable number of items on the order, and then join back up when all N have completed. I don't see how it is possible to fork into a variable number of branches. It seems that the number of branches is fixed by the JPDL.
Is there a way to do this using fork? Or is there another way to accomplish this?
Thanks,
Jon
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530055#530055
More information about the jboss-user
mailing list