[jboss-user] [jBPM] - Conditional Transitions (jBPM 3.3.1GA)

Edward Mallia do-not-reply at jboss.com
Fri Apr 23 12:39:39 EDT 2010

Edward Mallia [http://community.jboss.org/people/edmallia] created the discussion

"Conditional Transitions (jBPM 3.3.1GA)"

To view the discussion, visit: http://community.jboss.org/message/539271#539271

Hi all,

I have a node with three outgoing conditional transitions.  The idea is that by firing one event, jBPM will transition to the appropriate state based on the conditions applied to the transitions.       

However this is not happening.  jBPM picks up the first transition with the given name, checks the condition on it, and if condition evaluates to false it throws an exception (+Exception in thread "main" org.jbpm.JbpmException: transition condition #{ ... } evaluated to 'false'+) and aborts the transition. 

For example,  
I have the following states,
** state A transitions to state B on event X if (var == foo)
** state A transitions to state C on event X if (var == bar)
** state A transitions to state D on event X if (var == foobar)
If I fire event X (and var = foobar), jBPM will only pick up the transition going to state B and fail because var != foo

Why is this so and is there a way around it?




Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100423/773c00b4/attachment.html 

More information about the jboss-user mailing list