checkout the unit test test, hopefully that should help:
http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-pipeline/drools-transformer-smooks/src/test/java/org/drools/runtime/pipeline/impl/SmookStatefulSessionTest.java
Mark
Dave Macpherson wrote:
Hey guys (Drools newbie here)
I'm *att
All,
I am getting the error below while passing DroolsAnt build pkg as a
property to RuleAgent. I am using Java 6 update 12.
===
2009-03-02 16:48:59,363 Stdout ERROR callout.err - RuleAgent(default)
INFO (Mon Mar 02 16:48:59 CST 2009): Configuring package provider :
FileScan
Hi,
Is there a way to get the QueryResults from a StatefulKnowledgeSession in
Drools 5.0 ?
The old API has a getQueryResults method but I can't find it in the new API.
Thanks,
Best Regards,
Michal
___
rules-users mailing list
rules-users@lists.jboss.or
Hey guys (Drools newbie here)
I'm *attempting* to use the Drools/Smooks pipeline functionality to insert
facts into my knowledgebase and I'm having a little trouble figuring out
exactly how to do this. I've read the API docs for the 5.0.0.M5 and looked
at the test cases but I guess I'm still not
Hi Kris,
Hummm... Its true, after all Workitem stills been a java class with
gets and sets... ;-)
Thanks
Cristiano
On 02/03/2009, at 10:38, Kris Verlaenen wrote:
Cristiano,
If the working memory is always different per work item, you could
use a global and pass it as a parameter of the
It is so strange...
I could run this test with no errors, but I can't get any of my
process completed if diagram has a timer...
Ok, I'll sent to you my project.
Thanks
On 02/03/2009, at 11:19, Kris Verlaenen wrote:
Cristiano,
There are some examples on processes using timers here:
http:/
A null value on the field is supposed to evaluate to true only when
comparing with null. Otherwise, it should always evaluates to false.
[]s
Edson
2009/3/2 techy
>
> Hello,
> I'm checking for condition ' field not matches ".*ABC.*" ` in my rule.
> when field value is null, rule does
Well, since the StatelessSession is basically a convenience wrapper around a
StatefulSession I figure it should be possible. On StatefulSession, which
extends WorkingMemory, you just call setFocus() before firing the rules. I'm
not sure what the best way to do this with a StatelessSession woul
Ah, I thought the LHS was parsed into mvel by default. OK, my bad.
--- On Sun, 3/1/09, Edson Tirelli wrote:
> From: Edson Tirelli
> Subject: Re: [rules-users] Creating objects in WHEN clause
> To: greg_bar...@yahoo.com
> Date: Sunday, March 1, 2009, 6:19 PM
> Hold on. :) We are talking about D
Hello,
I'm checking for condition ' field not matches ".*ABC.*" ` in my rule.
when field value is null, rule does not fire. But if field value != null and
!= ABC, then rule fires.
Is this expected output or bug? Please clarify.
Thanks
--
View this message in context:
http://www.nabble.com/%22
You've answered your own question. The method is non-static. You must call it
on a particular instance. You can pass the instance in as a global variable or
match on it in the rule.
global com.test.serviceImpl.StaffingFormMailingServiceImpl foo;
or
when
$s:StaffingForm(...)
$f:StaffingF
Cristiano,
There are some examples on processes using timers here:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/ProcessTimerTest.java
If you need help, could you maybe send me the test project you are trying to
execute, so I
Cristiano,
If the working memory is always different per work item, you could use a
global and pass it as a parameter of the work item.
However, in general it does seem better to set this on the work item handler
directly at construction time, as a parameter on your work item handler.
Someth
Garrett,
The 3rd option you describe is currently possible in the core engine,
however support has not yet been added to the graphical designer for this.
You can however manually add it in the XML directly for now. If you look at
the XSD it should look something like this:
p:Per
Hi people,
Im trying to create a workitemhandler for use Drools Pipeline and
Smooks to import data inside working memory and process it.
I want to share the working memory that was created for the main
process that is calling the workitem for configure the Drools Pipeline
inside it.
Wha
I have still not found a solution to the problem.
The problem is that I have a non static function in my service class and i
have to call thhat from my drools rule file.
The function basically accepts a mail id and if a mailing list returns an
arraylist of the individual mail ids in the mailing
16 matches
Mail list logo