[rules-users] When - Then In DSL Rule

Esteban Aliverti esteban.aliverti at gmail.com
Mon Feb 18 11:16:22 EST 2013


In the sentence 'Transaction.setChargeFee( true)', 'Transaction' is not
making reference to the fact (unless you have bound it and you are not
showing that piece) but to the class named 'Transaction'.

Best Regards,




XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com


On Mon, Feb 18, 2013 at 4:48 PM, IPatel <ishita.patel at usbank.com> wrote:

> Thank you for your response.
>
> Here is the another option i used. Instead of using variable $item. I used
> the fact itself as following:
> [then] Charge a fee = Transcation.setChargeFee( true)
>
> when i used this i am getting "There was an error executing the consequence
> of rule"...
>
> Any idea how can i fix this??
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/When-Then-In-DSL-Rule-tp4022407p4022410.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130218/6cff2e4a/attachment.html 


More information about the rules-users mailing list