It would be good too if you could provide us your model (or at least a part of it).<div><br></div><div>Best,<br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 3:24 AM, Toni Rikkola <span dir="ltr"><<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">You can create a Jira for this and upload the jar file there.<br>
<a href="https://jira.jboss.org/jira/browse/GUVNOR" target="_blank">https://jira.jboss.org/jira/browse/GUVNOR</a><br>
<br>
We will take a look at it and fix it if it is a bug.<br>
<br>
Toni<br>
<div class="im"><br>
Amit Kumar wrote:<br>
> Sorry for spamming today<br>
> It does seem to be working after I add "Any of the following" or "All<br>
> of the following" and then add the attributes to it. So workaround is<br>
> there..<br>
> But when I add "There is a Equipment" and add a attribute then it<br>
> permits me to assign a variable to it<br>
> like Equipment(eId : entityId)<br>
> but it does not "correctly" give me that variable assigning capability<br>
> in the "Any of " or "All of" blocks .. so struck issue.<br>
> Thanks,<br>
> Amit<br>
><br>
><br>
><br>
> On Tue, Mar 16, 2010 at 1:58 PM, Amit Kumar <<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>>> wrote:<br>
><br>
</div><div class="im">> Ok I tried again. :(<br>
><br>
> In Equipment I only see manufacturer<br>
> In EquipmentCA I also only see manufacturer<br>
> In Software I do not see anything.<br>
><br>
> It contains many more classes<br>
><br>
> Not sure what I am breaking.. but if you want I can send you my<br>
> model files to you (in case you want to try). Do not want to post<br>
> it on alias<br>
><br>
> Thanks<br>
> Amit<br>
><br>
><br>
> 2010/3/16 Esteban Aliverti <<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a><br>
</div>> <mailto:<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>>><br>
<div class="im">><br>
> But, which fields didn't appear in guvnor?<br>
><br>
> 2010/3/16 Amit Kumar <<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
</div>> <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>>><br>
<div class="im">><br>
> Probably because of OStype and OSversion. Let me fix that<br>
> and convert to lower case and try. I remember facing this<br>
> issue sometime back with 5.0<br>
> Thanks<br>
> Amit<br>
><br>
> On Tue, Mar 16, 2010 at 9:17 AM, Amit Kumar<br>
</div><div class="im">> <<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a> <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>>> wrote:<br>
><br>
> Its coming from a JAR<br>
> Thanks<br>
> Amit<br>
><br>
> Equipment<br>
> entityId int<br>
> partNumber String<br>
> manufacturer String<br>
> owningEntityId int<br>
><br>
><br>
><br>
> Software<br>
> entityId int<br>
> OSType String<br>
> OSVersion String<br>
> imageName String<br>
><br>
><br>
><br>
><br>
><br>
><br>
> EquipmentCA extends Equipment<br>
> hostname String<br>
> productName String<br>
> productFamily String<br>
> productId String<br>
><br>
> 2010/3/16 Esteban Aliverti <<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a><br>
</div>> <mailto:<a href="mailto:esteban.aliverti@gmail.com">esteban.aliverti@gmail.com</a>>><br>
<div class="im">><br>
> Are you importing your model from a .jar or using<br>
> a Declarative Model?<br>
><br>
><br>
> On Tue, Mar 16, 2010 at 6:28 AM, Toni Rikkola<br>
</div>> <<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a> <mailto:<a href="mailto:trikkola@redhat.com">trikkola@redhat.com</a>>><br>
<div class="im">> wrote:<br>
><br>
> Hi,<br>
><br>
> Its possible that there are some bugs in the<br>
> snapshots. Can you tell me<br>
> what your model looks like?<br>
><br>
> Toni<br>
><br>
> Amit Kumar wrote:<br>
> > The latest builds seem to be no good for guvnor<br>
> > They do seem rich in features .. especially<br>
> support for<br>
> > collect/accumulate in guvnor along with<br>
> inbox and global packages.<br>
> ><br>
> > But But But.. on adding a fact in the<br>
> when/then clause then all the<br>
> > attributes of the facts are not coming ..<br>
> some attributes come.. not<br>
> > all of them.<br>
> > I am picking it from here<br>
> ><br>
> <a href="https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/" target="_blank">https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/</a><br>
> > Any other place I can look :)<br>
> ><br>
> > Thanks<br>
> > Amit<br>
> ><br>
> > On Mon, Feb 22, 2010 at 8:54 AM, Amit Kumar<br>
> <<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a> <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>><br>
</div>> > <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a><br>
<div class="im">> <mailto:<a href="mailto:amitkumar@gmail.com">amitkumar@gmail.com</a>>>> wrote:<br>
> ><br>
> > Thanks Jervis!!<br>
> ><br>
> > On Sun, Feb 21, 2010 at 7:05 PM,<br>
> Jervisliu <<a href="mailto:jliu@redhat.com">jliu@redhat.com</a><br>
> <mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>><br>
</div>> > <mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a><br>
<div><div></div><div class="h5">> <mailto:<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>>>> wrote:<br>
> ><br>
> > A new feature called "Sharable<br>
> artifacts/Global artifacts" will be<br>
> > available in Drools 5.1. This<br>
> feature allows you share an<br>
> > asset among<br>
> > different packages. It also creates<br>
> a global area (you can<br>
> > consider it<br>
> > as a global package). Potentially<br>
> you can promote an asset<br>
> > that you<br>
> > think is more appropriate to be<br>
> defined in a global scope from<br>
> > your<br>
> > current package to the global area,<br>
> so that this global asset<br>
> > can be<br>
> > reused by every package. This<br>
> feature is already on trunk,<br>
> > maybe you<br>
> > want to give it a try. Any comments<br>
> or feedbacks will be highly<br>
> > appreciated.<br>
> ><br>
> > Cheers,<br>
> > Jervis<br>
> ><br>
> ><br>
> > Amit Kumar wrote:<br>
> > > Hello All,<br>
> > ><br>
> > > I am looking to organize the rules<br>
> in different categories.<br>
> > But for<br>
> > > distribution purposes We are<br>
> creating packages for different<br>
> > > roles/processing phases<br>
> > ><br>
> > > So a rule will reside in one<br>
> pckage but for navigation it<br>
> > can belong<br>
> > > to multiple categories<br>
> > ><br>
> > > So packages are like Shirts,<br>
> Pants, Shoes, Sweaters<br>
> > > Categories are Color, Material,<br>
> Size, Gender and those have sub<br>
> > > categories witin them<br>
> > ><br>
> > > We have rules which will device<br>
> the category of the item<br>
> > > Like "red rule", "blue rule",<br>
> "cloth rule", leather rule"<br>
> > ><br>
> > > Now the problem we are facing is<br>
> for category rules is if I<br>
> > define the<br>
> > > rule in Shirt package .. then I<br>
> will not be able ot use it<br>
> > in Pant<br>
> > > package.. Will have to redefine it.<br>
> > ><br>
> > > The other problem in this scenario<br>
> is If I have a price rule<br>
> > in Shirt<br>
> > > package and the category is "Blue<br>
> Color" and "XL Size" then<br>
> > I will<br>
> > > have to put it in both categories<br>
> > > When I put the "Blue Rule" on<br>
> "Blue Category" and "XL Rule"<br>
> > on "XL<br>
> > > Category" and I put the rule in<br>
> both categories.. will it<br>
> > be an "and"<br>
> > > relationship or will be an "OR"<br>
> > ><br>
> > > Regards,<br>
> > > Amit<br>
> > ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> > ><br>
> > ><br>
> _______________________________________________<br>
> > > rules-users mailing list<br>
> > > <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>>><br>
> > ><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
> > ><br>
> ><br>
> ><br>
> _______________________________________________<br>
> > rules-users mailing list<br>
> > <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>>><br>
> ><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > _______________________________________________<br>
> > rules-users mailing list<br>
> > <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> ><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
> ><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
><br>
><br>
</div></div><div class="im">> --<br>
> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
><br>
> Esteban Aliverti<br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
</div><div class="im">> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
</div><div class="im">> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br>
><br>
> Esteban Aliverti<br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
</div><div><div></div><div class="h5">> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a> <mailto:<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>