I am evaluating jbpm for embedding within an insurance trading system. We have a very
typical scenario where the insurance broker markets the client risk to a number of
insurance companies. What markets are selected for which risks is mostly discressionary
for the broker based on the particular client need. This leads me to my problem. If I were
do to some swimlanes on the graphical modelling tools I don't know how many swim lanes
I need until runtime as I don't now whether I need to fork to 1, 2 or 12 different
subprocesses for the number of markets selected by the broker.
I would like to fork into a set of parrellel subprocess then join them back again once
each selected insurance company has given a quote. I cannot see how I would graphically
model things so that a parent process "forks to a user specified number of
subprocesses then joins them all back up".
I am sure that I am missing something at a conceptual level as to how to do what I want.
Can someone give me some pointers as to how to start a variable number of subprocesses and
join them without having to hand code the folks and joins? Would the normal approach just
be to write an action that programmatically launches the variable number of seperate
processes? That would mean that I would have to "programmatically join them
myself" by having a job wait monitor the spawned processes to see if they have
completed and then signal the original process instance that the broker now has to pick
the best quote?
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224897#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...