[rules-users] DSL and 5.3 Final

Rob Fisher rob.fisher.l2gk at statefarm.com
Fri Mar 30 11:44:54 EDT 2012


Did the trick.  Thank you sir.

From: laune [via Drools] [mailto:ml-node+s46999n3870931h29 at 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=unsubscribe_by_code&node=3869806&code=cm9iLmZpc2hlci5sMmdrQHN0YXRlZmFybS5jb218Mzg2OTgwNnwxMDI1NjMyODg=>.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120330/20dc2a2a/attachment.html 


More information about the rules-users mailing list