I know u are right (normaly ;) )
But i need to check more then one dedicions in a node. Normaly the code for the disicion
is in the desicionhandler and the handler returns the name of the transition.
But i must code the desicionhandler and actionhandler before i know the Workflow or the
rules. The actions are predetermined. But what to do with the Desicionhandler? I know the
rules are simple and only give True or False. So if i give the desicionhandler the
rulename and the name of the transitions it is able to take transition "a" if
the ruleresult is true else it takes transition "b". That works fine but at the
moment i have more then 2 Transitions for example 3 i have a Problem, because i am not
able to code a desicionhandler to handle n transitions(and easy use of it in the
jbpm-file) if i only have true/false rules. If i could give the desicionhandler a vector
containing Objects(Rulename, transition a, transition b) it where no problem, but i think
that is not possible and normaly not realy usefull.
Thats the reason i am using actionhandler instat of desicionhandler.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990399#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...