-
1. Re: JBPM Mulitple Processes
bazoo Jan 31, 2007 10:57 AM (in response to ibamsey)Hi Ian,
I need to do the same thing - did you ever find a solution?
Cheers
Matt -
2. Re: JBPM Mulitple Processes
kukeltje Jan 31, 2007 12:29 PM (in response to ibamsey)By implementing a custom 'forkhandler' you can achieve this kind of behaviour. More info than this is not in my head, so you have to search the forum a little (afaik there has been some discussion of this before, but I am not sure)
-
3. Re: JBPM Mulitple Processes
kukeltje Jan 31, 2007 12:32 PM (in response to ibamsey)isn't there a JSR for pluggable scripting? or is this on the wrong level? (me not specialist on this, me stupid ;-))
-
4. Re: JBPM Mulitple Processes
estaub Jan 31, 2007 12:44 PM (in response to ibamsey)"kukeltje" wrote:
isn't there a JSR for pluggable scripting? or is this on the wrong level? (me not specialist on this, me stupid ;-))
"Wrong thread?" said Ed. -
5. Re: JBPM Mulitple Processes
ibamsey Jan 31, 2007 1:10 PM (in response to ibamsey)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? -
6. Re: JBPM Mulitple Processes
amnas Apr 2, 2007 5:29 AM (in response to ibamsey)Hi!
Have a look at this : http://wiki.jboss.org/wiki/Wiki.jsp?page=MultiChoiceForkAH
Hold on!
:)
AMNAS.