[rules-users] can't put formula on Guvnor screen
Hi Team ! Earlier I sent this mail to rules-...@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] can't put formula on Guvnor screen
*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 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 wrote: > >> Hi Team ! >> >>Earlier I sent this mail to rules-...@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@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > ___ > rules-users mailing list > rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] can't put formula on Guvnor screen
*Hi Mike !!* * * *I am using 5.4 versionplease have a look to the screen shots attached.* the rounded box in the screenshot takes only numbers in the case of THENbut working fine in WHEN... so i tried by using *ADD FROM FREE DRL*(in the box 2), and this was working fine... thanks !! On Tue, May 15, 2012 at 6:06 PM, Michael Anstis wrote: > 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 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 > > 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 wrote: >>> >>>> Hi Team ! >>>> >>>>Earlier I sent this mail to rules-...@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@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>> >>>> >>> >>> _______ >>> rules-users mailing list >>> rules-users@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@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > ___ > rules-users mailing list > rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] can't put formula on Guvnor screen
*wo Mike.I can't believe it.its been only two days I have started digging around Drools and found a bugIt would be great if I can help this community in any ways... by the way MikeI am desperately waiting for my prize ;-)* On Tue, May 15, 2012 at 6:38 PM, Michael Anstis wrote: > Congratulations :) > > You win the prize for finding (possibly) the first bug in 5.4. Using > free-format DRL is, as you've found, a work-around. > > Can you please raise a bug at https://issues.jboss.org/browse/GUVNOR and > I'll fix as soon as possible. > > With kind regards, > > Mike > > > On 15 May 2012 13:51, zeeshan khan wrote: > >> >> *sorry forgot to attach the fileplease find it again...* >> >> >> >> >> >> >> >> On Tue, May 15, 2012 at 6:19 PM, zeeshan khan >> wrote: >> >>> *Hi Mike !!* >>> * >>> * >>> *I am using 5.4 versionplease have a look to the screen shots >>> attached.* >>> >>> the rounded box in the screenshot takes only numbers in the case of >>> THENbut working fine in WHEN... >>> so i tried by using *ADD FROM FREE DRL*(in the box 2), and this was >>> working fine... >>> >>> thanks !! >>> >>> >>> >>> >>> >>> >>> >>> >>> On Tue, May 15, 2012 at 6:06 PM, Michael Anstis < >>> michael.ans...@gmail.com> wrote: >>> >>>> 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 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.ans...@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 wrote: >>>>>> >>>>>>> Hi Team ! >>>>>>> >>>>>>>Earlier I sent this mail to rules-...@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 >>>>>>> >>>>>>> >>>>>>> _______ >>>>&
Re: [rules-users] can't put formula on Guvnor screen
*wo Mike.I can't believe it.its been only two days I have started digging around Drools and found a bugIt would be great if I can help this community in any ways... by the way MikeI am desperately waiting for my prize ;-)* *On Tue, May 15, 2012 at 6:38 PM, Michael Anstis wrote: * > > *Congratulations :) > > You win the prize for finding (possibly) the first bug in 5.4. Using > free-format DRL is, as you've found, a work-around. > > Can you please raise a bug at https://issues.jboss.org/browse/GUVNOR and > I'll fix as soon as possible. > > With kind regards, > > Mike* > > > On 15 May 2012 13:51, zeeshan khan wrote: > >> >> *sorry forgot to attach the fileplease find it again...* >> >> >> >> >> >> >> >> On Tue, May 15, 2012 at 6:19 PM, zeeshan khan >> wrote: >> >>> *Hi Mike !!* >>> * >>> * >>> *I am using 5.4 versionplease have a look to the screen shots >>> attached.* >>> >>> the rounded box in the screenshot takes only numbers in the case of >>> THENbut working fine in WHEN... >>> so i tried by using *ADD FROM FREE DRL*(in the box 2), and this was >>> working fine... >>> >>> thanks !! >>> >>> >>> >>> >>> >>> >>> >>> >>> On Tue, May 15, 2012 at 6:06 PM, Michael Anstis < >>> michael.ans...@gmail.com> wrote: >>> >>>> 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 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.ans...@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 wrote: >>>>>> >>>>>>> Hi Team ! >>>>>>> >>>>>>>Earlier I sent this mail to rules-...@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@lists.jboss.org >>>>>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>>>>> >>>>>>> >>>>>> >>>>>> ___ >>>>>> rules-users mailing list >>>>>> rules-users@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@lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>>> >>>>> >>>> >>>> ___ >>>> rules-users mailing list >>>> rules-users@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/rules-users >>>> >>>> >>> >>> >>> -- >>> >>> >>> >> >> ___ >> rules-users mailing list >> rules-users@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > ___ > rules-users mailing list > rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users