"Jeff" wrote : Tom,
|
| I have two problems with this process model.
|
| 1) does not like <= , complains that it must not contain the '<'
character. But this is legit in the JSF expressions guide.
|
| 2) even if I change to LT, the Yes transition is always taken, no matter the value of
basePrice. However if I switch the order of the transitions in the file, the No transition
is taken. This remains the case if the value of basePrice is greater than 300.
|
| I have used similar expression before with success (well not the <), so I am not
sure what is going on here. basePrice is an int, if that makes a difference. I can print
out the value of basePrice, and know that has been set correctly (by JBoss rules).
Changing basePrice from an int to an Integer or String does not help.
|
| Any ideas?
|
| Thanks,
|
| Jeff
|
|
|
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2" name="InsuranceProcess">
| <start-state name="start">
|
| </start-state>
|
|
| pricing/PolicyPricing.xls
| XLS
|
| driver
| policy
|
|
|
|
|
|
|
|
|
|
|
|
| <task-node name="Underwriter Signoff">
|
|
| /Assignment.drl
| underwriter
|
| policy
|
|
|
|
| </task-node>
| <end-state name="end"></end-state>
| </process-definition>
Maybe it has to do with the fact that i took and tweaked some older version
(pre-unified-expression-language) from the apache commons stuff.
I have not yet been able to get the same things out of the EL RI. Once I get that to work
properly it could replace the commons EL and solve these problems.
I'm a bit afraid of the backwards incompatibility, though. Now I have this
abstraction of method binding and value binding. If the expression is used to get a value
and a method is given, then the return value of the method is taken. Something that will
probably be hard to get in the RI of EL.
regards, tom.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022888#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...