[jboss-user] [JBoss jBPM] - Re: JBPM Mulitple Processes

ibamsey do-not-reply at jboss.com
Wed Jan 31 13:10:38 EST 2007


Yes, a custom folk might work. I have considered this idea. 

I can imagine having a folk, one transition to the process I want to run "n" times (this would exit to a folk), and the other transition to a decision. The decision would be "More" or "No More". The More output from the decision would loop back into the folk, and the No More would go to the join.

The idea above would allow the user to start "n" sub-process by selecting the More transition from the decision. The only problem with the above scheme, is that each time More is selected, the new sub-process would be on the child token, when it would need to be upon the parent.

I suppose this could be coded in a custom folk, although is seems a hack.

It seems to me that this is a common pattern? Is there not a better way?

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

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



More information about the jboss-user mailing list