PLease remove the spaces between the parentheses:
[condition][]ThereIsProgramHistoryData = ProgramHistory ( )
I guess this is a bug.
-W
On 30/03/2012, Rob Fisher <rob.fisher.l2gk(a)statefarm.com> wrote:
[condition][]ThereIsProgramHistoryData = ProgramHistory ( )
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Wolfgang Laun
Sent: Friday, March 30, 2012 12:38 AM
To: Rules Users List
Subject: Re: [rules-users] DSL and 5.3 Final
Please provide the DSL definition for
ThereIsProgramHistoryData
-W
On 30/03/2012, Rob Fisher <rob.fisher.l2gk(a)statefarm.com> wrote:
> Having the following DSL statement coded:
>
> [condition][]- where {VarName} is {AttributeName} and is {operator}
> {value}={VarName}: {AttributeName} {operator} {value}
>
>
> DSLR looks like this:
> ThereIsProgramHistoryData
> - where $var01 is LevelPriorYear and is greater than 0
>
> DSL parses to this:
> ProgramHistory ($var01: levelPy > 0)
>
> Parsed just fine in 5.2 Final. Downloaded 5.3 today but am now
> getting following error for every rule that uses the above DSL:
>
> "no viable alternative at input ','"
>
> The DRL looks like this : ProgramHistory ( , $var01: levelPy > 0)
>
> What changed in 5.3 that is causing the comma to be inserted?
>
> Any help is much appreciated!
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/DSL-and-5-3-Final-tp3869806p3869806.
> html Sent from the Drools: User forum mailing list archive at
>
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users