Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread sumit dhaniya
added a maven project as dependency in my project which contains mode pojo - Create a guided rule - In config of guided rule add the class which contains _id variable - add a condition to the rule (the class object which contains _id) - apply restriction on the fields (_id will be listed as one of

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread sumit dhaniya
Hi Michael can you confirm the download link for 6.1.CR2 http://downloads.jboss.org/drools/release/snapshot/6.1.x/kie-drools-wb-6.1.0-SNAPSHOT-tomcat7.0.war On Sat, Jul 12, 2014 at 12:09 PM, sumit dhaniya sumitdhan...@gmail.com wrote: added a maven project as dependency in my project which

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread Mario Fusco
Hi, This seems more a problem of the drools compiler. I'll try to reproduce it and check what happens. Just one more question: is the field public or is it accessed through a getter method in your Java class? In case you're using a getter did you named it get_id or get_Id ? Thanks, Mario --

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread sumit dhaniya
field is private and below are getter and setter :- private String _id; public String get_id() { return _id; } public void set_id(String _id) { this._id = _id; } On Sat, Jul 12, 2014 at 1:35 PM, Mario Fusco mario.fu...@gmail.com wrote: Hi, This seems more a problem of

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread sumit dhaniya
Can you please provide me the link to download 6.1.CR2 tomcat war On Sat, Jul 12, 2014 at 1:54 PM, sumit dhaniya sumitdhan...@gmail.com wrote: field is private and below are getter and setter :- private String _id; public String get_id() { return _id; } public void

[rules-users] kie-wb 6.1.CR2

2014-07-12 Thread Sumit Dhaniya
Is there any link from where I can download kie-wb6.1.CR2 or I'll have to clone the project and create war. I tried the nightly build but unfortunately it doesn't works. When I deploy it in tomcat 7 I can't access index page. -- View this message in context:

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread Sumit Dhaniya
I create the rule by comparing properties of two objects as shown in image attached. Till I don't close the window generated source looks fine but when I open this rule after closing it. But when I open the rule next time it removes the highlighted condition from the rule and also removes them

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread Michael Anstis
Asking (at least) three questions at the same time on the same thread is really going to annoy people. It's the weekend; most people are not working and you are not paying for our support. When I am at my computer on Monday I will be happy to answer more. For now; please provide the DRL for the

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread sumit dhaniya
Michael I really appreciate all the help from the forum and the time invested by the people to answer the queries. I'm working as a freelance developer so if support is something affordable then please let me know. DRL :- 2.|3.|import java.lang.Number;4.|import

Re: [rules-users] Workaround: EventFactHandle retained in memory after FactCount reaches 0 for temporal-based rule

2014-07-12 Thread Davide Sottara
Thanks for reporting, we'll investigate both this and 498 Davide On 07/11/2014 08:38 PM, Kent Anderson wrote: We have found a workaround that eliminates the leftover event (gone from Working Memory, but not from the JVM memory): The rule forget it ever happened (seen below) causes the