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.
I know, but the Problem i have is that this ruleresults only give true or false
and later it should be possible to create a new workflow with out the capacity
to create a new decision- or action-class (my english isn't good so i am sorry
if it is not well explaint). That is the reason, why need
anonymous wrote : to activate more than one decision?
What do you mean by this, do you mean more than one transition? Then use a
fork. Besides that, I'd use a handler on a decision, not the 'node enter' event
to make the decision what to do. That is more common.
View the original post :
JimKnopf wrote : Hi again,
| I am calling an action and in this action i am fire a Rule from JRules.
Based on the result of this rule i want to use a transition ( token.signal(
xxx ) ).
| But when i do this, i get an Exception. Is it not possible to use use
token.signal in an action? And
Correct.
But i allready solved the Problem ... simple just using leaveNode( ... )
instead of getToken.signal( ... ).
A decisionHandler is not possible, because sometimes i need to have more then
one Decision in one node so. (For Example Check some Rulebases if one of these
Rulebase matched
And ... thank u for ur response :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989685#3989685
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989685
___
jboss-user mailing list
a java classs (similar to an actionhandler) van be the decisionhandler what
you describe is exactely what a decisionnode is for.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3989734#3989734
Reply to the post :