[jboss-user] [jBPM] - Transition rule EL Expression fails

Donald Walters do-not-reply at jboss.com
Wed Sep 29 07:26:39 EDT 2010


Donald Walters [http://community.jboss.org/people/dondragon2] created the discussion

"Transition rule EL Expression fails"

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

--------------------------------------------------------------
I am using the default expression language to evaluate the rules for my transitions. But, I am getting the following exception each time it tries to process a rule in my decision node.

org.jbpm.api.JbpmException: expression condition ' #{response['resultSet'] != null && response['resultSet'][0][3] > 0}' did not return a boolean:  true
        at org.jbpm.pvm.internal.model.ExpressionCondition.evaluate(ExpressionCondition.java:45)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.findTransitionUsingConditions(DecisionConditionActivity.java:62)
org.jbpm.api.JbpmException: expression condition ' #{response['resultSet'] != null && response['resultSet'][0][3] > 0}' did not return a boolean:  true
        at org.jbpm.pvm.internal.model.ExpressionCondition.evaluate(ExpressionCondition.java:45)
        at org.jbpm.jpdl.internal.activity.DecisionConditionActivity.findTransitionUsingConditions(DecisionConditionActivity.java:62)

Why is result a string instead of a boolean?
How can I get around this?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/563951#563951]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100929/a30b999d/attachment-0001.html 


More information about the jboss-user mailing list