[jboss-user] [jBPM] - Re: ClassCastException on .splitNode().constraint()

Peter Vieth do-not-reply at jboss.com
Mon Feb 13 17:09:32 EST 2012

Peter Vieth [https://community.jboss.org/people/peter.vieth] created the discussion

"Re: ClassCastException on .splitNode().constraint()"

To view the discussion, visit: https://community.jboss.org/message/716363#716363

Was there ever any progress on this?  I'm using 5.2.0.M1 and ran across the same issue.  Trouble is that ConstraintImpl doesn't have an evaluate() function, so it can't be cast to ConstraintEvaluator in SplitInstance.  I made my own class which  implements ConstraintEvaluator.  I just get the constraint string and return MVEL.eval(constraint_string).

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/20120213/6604a3e6/attachment.html 

More information about the jboss-user mailing list