I tested formula with 5.4 and it works as I defined.
What version of Guvnor are you using?
On 15 May 2012 13:34, zeeshan khan <zeeshan.spring(a)gmail.com> wrote:
*Hi Mike !!*
*
*
*Thanks for the reply.....its working fine in WHEN but not in THEN......*
On Tue, May 15, 2012 at 5:06 PM, Michael Anstis <michael.anstis(a)gmail.com>wrote:
> The book, as Mark also said, is out of date compared to the current (5.4)
> version of Drools and Guvnor.
>
> I suspect you've elected to set the field's value to a literal rather
> than formula. Please try deleting the constraint and adding back.
>
> When clicking on the pencil icon next to the operator be sure to select
> "New formula".
>
> With kind regards,
>
> Mike
>
> On 15 May 2012 12:27, zeeshan khan <zeeshan.spring(a)gmail.com> wrote:
>
>> Hi Team !
>>
>> Earlier I sent this mail to rules-dev(a)lists.jboss.org. Mark
>> Proctor asked me to mail here so I am mailing here in the hope of reply.
>>
>> Since yesterday only I started learning Drools with the help
>> of Google and *JBOSS DROOLS BUSINESS RULES pdf file*. I faced many
>> problems to understand the concept but now its going smooth. But the
>> problem is the *version of PDF file of the book* and the *Govener
>> version*. *Its quite different*. I request you all to please provide
>> me the latest version of PDF as I am unable to find on net. The problem I
>> am facing is to put the formula as given in the screen shot in the book.
>> I am unable to put the *formula* as described in JBOSS
>> DROOLS BUSINESS RULES pdf file on page no. 102.....the formula is *salesValue-10
>> as the box is not capable of taking cahracters. *It is taking only
>> integer.
>>
>> Thanks in Advance for all the help and material !!!!
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
Best Regards,
*Zeeshan Khan*
*Liferay Java Developer*
*IBEXI Solutions India*
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users