[rules-users] DSL and 5.3 Final

Wolfgang Laun wolfgang.laun at gmail.com
Fri Mar 30 01:38:17 EDT 2012


Please provide the DSL definition for
    ThereIsProgramHistoryData

-W

On 30/03/2012, Rob Fisher <rob.fisher.l2gk at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list