[rules-users] Drools on .Net and Java

2009-01-12 Thread Mark Rollins
I'm interested in using Drools in both Java and .Net environments and have seen several claims as to its ability to do so. However, when I go to the Drools .net web site, it seems at best a few versions old. Am I missing something, should I be looking elsewhere? Thanks -- View this message in

Re: [rules-users] Problem with (examples for )Guvnor M3 (mortgage, advertisement)

2009-01-12 Thread psentosa
Hi Shahad, no I haven't..but I'm sure they're aware of our mails complaining about this problem... I "solved" the problem by using Opera haven't tried Chrome yet.. Regards Paul Shahad Ahmed wrote: > > Hi Paul, > I'm seeing the same issues you reported with IE 7 and Firefox 3. However, > I > d

[rules-users] Problems in Guvnor 5.0M4 with imported 4.0.7 repositories that use ruleflows

2009-01-12 Thread Shahad Ahmed
Does anyone know if there is a way of specifying that the Guvnor 5.0M4 should migrate ruleflows from version 4.0 to 5.0 when importing a version 4.0 repository into the Guvnor, or is this bug/oversight in the Guvnor? I'm trying to import a drools 4.0.7 repository into Guvnor 5.0M4 – the repository

Re: [rules-users] Problem with (examples for )Guvnor M3 (mortgage, advertisement)

2009-01-12 Thread Toni Rikkola
Hi There was a bug in M3 and M4. It jammed Guvnor when user was looking at asset lists. https://jira.jboss.org/jira/browse/GUVNOR-79 and https://jira.jboss.org/jira/browse/GUVNOR-103. Should be fixed now. Toni psentosa wrote: Hi Shahad, no I haven't..but I'm sure they're aware of our mail

Re: [rules-users] Drools on .Net and Java

2009-01-12 Thread Corneil du Plessis
On Mon, 2009-01-12 at 01:17 -0800, Mark Rollins wrote: > I'm interested in using Drools in both Java and .Net environments and have > seen several claims as to its ability to do so. > > However, when I go to the Drools .net web site, it seems at best a few > versions old. Am I missing something,

[rules-users] How to access data after rule fires

2009-01-12 Thread Costello, Robert
So, how do I access data after the rules fire? If one has a rule which modifies a field on an object (a boolean, for example), and you want to return the object after the rules are complete, how do you do it? I tried this using a StatefulKnowledgeSession, getting an object collection after the

Re: [rules-users] How to access data after rule fires

2009-01-12 Thread Edson Tirelli
Can't you keep the reference to your object while firing the rules? MyObject x = ... ksession.insert( x ); ksession.fireAllRules(); boolean result = x.getBooleanAttribute(); []s Edson 2009/1/12 Costello, Robert > So, how do I access data after the rules fire? > > If one has a rule w

RE: [rules-users] How to access data after rule fires

2009-01-12 Thread Costello, Robert
I tried that and it returned false, which doesn't make sense to me since the rule firing is to set the value to true, and in the execution the rule does fire. StatefulKnowledgeSession session = kbase.newStatefulKnowledgeSession(); Product p = new Product(); p.setBran

Re: [rules-users] How to access data after rule fires

2009-01-12 Thread Edson Tirelli
The action is not being executed. I don't use decision tables frequently, but I think that it ignores empty cells and is generating an empty consequence for your rule. Usually, you would place the method call on the header prototype and the parameter in the cell. So your cell would be: | hoov

Re: [rules-users] How to access data after rule fires

2009-01-12 Thread Steven Williams
If you put an X or something in the cell (i.e. just don't leave it empty) it should also work. On Tue, Jan 13, 2009 at 10:57 AM, Edson Tirelli wrote: > > The action is not being executed. I don't use decision tables > frequently, but I think that it ignores empty cells and is generating an