[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
I was looking into the code and I find this that can help you: | // by default, the fork spawns a token for each leaving transition | if (script==null) { | transitionNames = getLeavingTransitionsMap().keySet(); | | } else { // a script is specified | // if a scr

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
I don't think so, but let me review the code.. for what I have in my head the Fork code look for the leaving transitions to create sub tokens.. so.. i doesn't evaluate the conditions inside them... I hope it helps.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread aben
without writing new tags, what is the default behaviour of FORK , is it ignoring the conditions on its transitions ? can the regular FORK tag can be somehow used in order to process only the transitions that its condition is true ? , | | | | | | | | View the origina

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
Ok, I wil try to write in my blog how to do that.. I think I will start with something like multichoicefork http://www.jboss.org/community/docs/DOC-11442 You can try to do an approach too and then we can compare it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread aben
Hi, thanks for the reply I need just the behaviour. my requirement is a fork with several transitions , on some of them / all of them will be conditions . the jbpm will take only the transitions that their condition evaluate to true for ex : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBoss jBPM] - Re: Fork that have conditions.. how??

2008-11-04 Thread salaboy21
If you need to that i think you can extend the Node class to make your custom Fork, because this involves the number of child tokens that you need to create. So, my question is, do you need a tag to do that? or just the behevior..?? Let me know what approach need your requierments and we can do