Re: [rules-users] Drools flow web console (5.1.M1) deployment in JBoss

2009-10-20 Thread Kris Verlaenen
This exception is simply caused by the fact that you don't have a human task service installed. So when the console tries to show the tasks of the user, or execute a process, it will fail to connect. To start a task service locally: the drools-process-task module contains a org.drools.task.RunTas

[rules-users] FW: Re: Stumped on forall usage

2009-10-20 Thread Tom.E.Murphy
Edson - please disregard my question on this - we've found out the root cause. The data types of the borrowerNumber and the creditBorrowerNumber attributes, which are deep inside a complex object hierarchy, are different - one is string and one is short. We'll deal with that issue now that we

Re: [rules-users] Stumped on forall usage

2009-10-20 Thread Edson Tirelli
Tom, I just ran 5.0.x and the test worked fine. Can you check if there are any differences between my test case and yours? *http://fisheye.jboss.org/changelog/JBossRules/?cs=29700* []s Edson 2009/10/20 > Edson – > Sorry, I forgot to mention the version number. > I’m using Drools 5.0.

Re: [rules-users] Stumped on forall usage

2009-10-20 Thread Tom.E.Murphy
Edson - Sorry, I forgot to mention the version number. I'm using Drools 5.0.1. If you also observe the incorrect behavior in 5.0.1, I'll try the trunk. If you're not able to, then it must be something I'm doing. Date: Tue, 20 Oct 2009 12:38:08 -0400 From: Edson Tirelli Subject: Re: [rules-users

Re: [rules-users] Stumped on forall usage

2009-10-20 Thread Wolfgang Laun
Observing that the forall could be replaced by not FICO( creditBorrowerNumber == $borrowerNumber1, validScoreIndicator == true ) what happens if you use this CE? -W 2009/10/20 > I’m having trouble with the forall CE. > > I have the following rule: > > rule "RS6524" > when >

Re: [rules-users] Drools flow web console (5.1.M1) deployment in JBoss

2009-10-20 Thread satjo
I have built the war files using the code from SVN and following is the stack tarce. I also see a warning in server logs that says 'WARN [PluginMgr] Unable to load plugin: 'org.jboss.bpm.console.server.plugin.ProcessEnginePlugin'. Do I need to copy any jar file in JBoss's lib folder (jboss-4.2.

Re: [rules-users] Stumped on forall usage

2009-10-20 Thread Edson Tirelli
Tom, What version are you using? I just tried with trunk and it works fine. I added your test case to the code base, anyway. Disclaimer: I did fixed a couple things in forall last week, not related to your scenario, but who knows? http://fisheye.jboss.org/changelog/JBossRules/?cs=29700

Re: [rules-users] Question about backing up a flow

2009-10-20 Thread Nair, Mahesh
Thanks Kris for your suggestion. What we are trying to model is similar to an interview process (for diganosing some kind of trouble with a system). The user wants to be able to go back to any of the previously answered question and change the answer and the restart the interview process from t

[rules-users] Hippo drools

2009-10-20 Thread Christine
Friend of mine wanted to know if Hippo uses Drools. He used Google. He found a nice description of how hippos drool. dagdag Christine -- dagdag is just a two-character rotation of byebye. ___ rules-users mailing list rules-users@lists.jboss.org https

[rules-users] Stumped on forall usage

2009-10-20 Thread Tom.E.Murphy
I'm having trouble with the forall CE. I have the following rule: rule "RS6524" when Borrower ( $borrowerNumber1 : borrowerNumber ) forall ( $fico : FICO (creditBorrowerNumber == $borrowerNumber1 ) FICO(th

Re: [rules-users] ClassCastException - org.drools.reteoo.BetaMemory

2009-10-20 Thread Edson Tirelli
It must be after serialization. I guess you might also be using interfaces (or superclasses) as patterns in the rules and inserting the implementations (or subclasses) as facts? This obviously should not be a problem, but I hope the above helps you narrow down the scenario. Thanks,

Re: [rules-users] ClassCastException - org.drools.reteoo.BetaMemory

2009-10-20 Thread Nicholas Hemley
Edson, Many thanks for this: yes, we do use serialization so I will try and identify the exact case where this error happens. Cheerio, Nic Nicholas Hemley Senior Developer Sidonis | Powering a New Generation of Service Assurance e: nic.hem...@sidonis.com

Re: [rules-users] ClassCastException - org.drools.reteoo.BetaMemory

2009-10-20 Thread Edson Tirelli
This is a bug. Would you please open a JIRA and attach as much information about the scenario as you can? A test case would be ideal, even if the problem does not happen every single run. Also, are you using serialization in your application? Edson 2009/10/20 Nicholas Hemley > Hello, >

[rules-users] Can we send updated objects to java files inbetween a rule flow?

2009-10-20 Thread Dylan Rafael Rex DSouza
Hi all, I have rule flow with 4 decision tables. After 2 tables the updated object needs to be saved to a database. Is it possible to send it to a java file for further processing? Kindly help with some example.. Thanks ___ rules-users mailing list ru

[rules-users] Can we call a helper method from an action cell in a decision table

2009-10-20 Thread Dylan Rafael Rex DSouza
Hi all, I have simple condition based on which I populate an object in the action cells. This object now has to saved to database. So can this object be sent to a java helper class from another action cell of the same decision table? This is with reference to decision table made from guvnor (we

[rules-users] ClassCastException - org.drools.reteoo.BetaMemory

2009-10-20 Thread Nicholas Hemley
Hello, I am getting the following intermittent error from drools 5.0.1 when removing a knowledge package from a knowledge base: org.drools.reteoo.BetaMemory cannot be cast to org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory I iterate over knowledgeBase.getKnowledgePackages() and th

Re: [rules-users] Drools ruleflow ForEach node and RuleSet node

2009-10-20 Thread Kris Verlaenen
If a for each node is executed for each parameter in the collection, these "flows" are processed in parallel. So when starting the process, it starts with the first parameter and executes A1, after which it will wait in R1 until all rules in that ruleflow-group have been executed. The same will ha

[rules-users] Drools ruleflow ForEach node and RuleSet node

2009-10-20 Thread Grigoriev, Grigoriy
Hello, I have a problem with running ruleflow with ForEach node (Drools 5.0.1): ForEach node contains two action nodes(let's say A1 and A2) and one rule set node(let's say R1). I have one object, that is inserted into working memory (let's call it O1), and passed to process instance as a process

Re: [rules-users] How do I configure the constraints for a Split node in Drools Flow to test the value of a process variable?

2009-10-20 Thread Alan . Gairey
Kris, Thanks for the fast response - the 'return' statement made all the difference - it's working as expected now. This was code from a simple unit test, so I wasn't initially checking errors after loading the process. After adding the code you suggested, the old process definition (i.e. with