Did the trick. Thank you sir.
From: laune [via Drools] [mailto:ml-node+[hidden email]]
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]> wrote:
> [condition][]ThereIsProgramHistoryData = ProgramHistory ( )
>
>
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] 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]> 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]
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
[hidden email]
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.
NAML