Did the trick. Thank you sir.
From: laune [via Drools] [mailto:ml-node+s46999n3870931h29@n3.nabble.com]
Sent: Friday, March 30, 2012 9:16 AM
To: Rob Fisher
Subject: Re: [rules-users] DSL and 5.3 Final
PLease remove the spaces between the parentheses:
[condition][]ThereIsProgramHistoryData = ProgramHistory ( )
I guess this is a bug.
-W
On 30/03/2012, Rob Fisher <[hidden
email]</user/SendEmail.jtp?type=node&node=3870931&i=0>> wrote:
[condition][]ThereIsProgramHistoryData = ProgramHistory ( )
-----Original Message-----
From: [hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=1>
[mailto:[hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=2>] 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 <[hidden
email]</user/SendEmail.jtp?type=node&node=3870931&i=3>> 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
> [hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=4>
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=5>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=6>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=3870931&i=7>
https://lists.jboss.org/mailman/listinfo/rules-users
________________________________
If you reply to this email, your message will be added to the discussion below:
http://drools.46999.n3.nabble.com/DSL-and-5-3-Final-tp3869806p3870931.html
To unsubscribe from DSL and 5.3 Final, click
here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...;.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
--
View this message in context:
http://drools.46999.n3.nabble.com/DSL-and-5-3-Final-tp3869806p3871200.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.