[jboss-user] [jBPM] New message: "Decision expression can not return a Boolean?"

derek lee do-not-reply at jboss.com
Sun Feb 28 22:31:35 EST 2010

User development,

A new message was posted in the thread "Decision expression can not return a Boolean?":


Author  : derek lee
Profile : http://community.jboss.org/people/yushanyuan

 just as the title. My Decision expression is :#{true},
and the exception is :rg.jbpm.api.JbpmException: expression '#{true}' in decision 'decision' returned java.lang.Boolean instead of a transitionName (String): true
i reviewed the sourccode , in the line 51, there is a if ,
 if ( (result!=null)
         && (! (result instanceof String))
throw .....
does it mean the return must be a String ?
if that  is true , why there is a  transitionName = (String) result in line 56


To reply to this message visit the message page: http://community.jboss.org/message/529035#529035

More information about the jboss-user mailing list