[rules-users] "not in" in decision table with string input errors out

Wolfgang Laun wolfgang.laun at gmail.com
Fri Nov 16 12:06:07 EST 2012


Check that your quotes are ASCII character code 0x22.

Also, use org.drools.builder.conf.DumpDirOption to see the generated DRL.
-W


On 16 November 2012 15:33, john_appleseed_79 <
newbie_drools_user_79 at mailinator.com> wrote:

> In my decision table I have the following input data -
> +----------------------+
> |CONDITION                |
> |                               |
> |$data not in $param    |
> |Header                      |
> |("123","234","00456")   |
> +----------------------+
>
> This errors out with the following error:
> [40,30]: [ERR 101] Line 40:30 no viable alternative at input ''
> [43,0]: [ERR 102] Line 43:0 mismatched input ''
> [6,36]: [ERR 101] Line 6:36 no viable alternative at input '\' in rule
> "Pricing bracket_11"
> [0,0]: Parser returned a null Package
>
> How do we make sure that the not in comparison works for strings in
> Decision
> Table. It seems quite easy on a DRL file. If somebody can help me out on
> this, I would be very thankful.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/not-in-in-decision-table-with-string-input-errors-out-tp4020863.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121116/3e386752/attachment.html 


More information about the rules-users mailing list