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
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.
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:
start id=1
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.
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
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(...)
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:
Ah, I thought the LHS was parsed into mvel by default. OK, my bad.
--- On Sun, 3/1/09, Edson Tirelli tire...@post.com wrote:
From: Edson Tirelli tire...@post.com
Subject: Re: [rules-users] Creating objects in WHEN clause
To: greg_bar...@yahoo.com
Date: Sunday, March 1, 2009, 6:19 PM
Hold
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
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
10 matches
Mail list logo