Hi everyone,
I have setup a ruleflow. Within that ruleflow I have create a custom
workflow item Handler. At the completion of execution I am calling:
manager.completeWorkItem(workItem.getId(), results);
Where results contains an item called batchRequest which is a map. Now I
want to map this ba
Hi, I'm trying to add some functionality to my 4.0.7 based project and
am realizing I don't understand some basics as well as I thought I did.
Until now, I've been using a very simple model: create session, insert
facts, fire rules, destroy session. My new functionality needs to use a
long
Hi Guys,
I am using last version of fusion.
do events in stream mode get automatic timestamps ? do I need to change
my Event class like in the broker example (in the way of
Event ) ?
class Event{
int symbol;
int load;
}
say if I have a simple code :
..drools initiation.. (stream mode)
session
Ok, ignore this, found that previously the ^TEST never matched. Its just now
with fusion my rules are looping more.
Sorry to spam.
RichardA wrote:
>
> In drools5 I have taken the standard Eclipse demo project, and changed the
> Sample.drl to contain only the following:
>
>
> package com.samp
Thanks so much! Following this screencast worked like a charm for me!
My problem was that I had been creating a resources folder under root (which
shows up as "resources" src folder in eclipse) rather than
src/main/resources (which shows up as "src/main/resources" src folder in
eclipse).
Thanks
In drools5 I have taken the standard Eclipse demo project, and changed the
Sample.drl to contain only the following:
package com.sample
import com.sample.DroolsTest.Message;
rule "Hello World"
when
m : Message( message not matches "^TEST" )
then
Hi,
If I execute a GenericCommand against the statefulknowledgesession it
returns the ExecutionResults, but how do I retrieve the actual returned value
of the GenericCommand which I had implemented.
Lets says something like this - so how do I get hold of the Boolean object
return value from th
Wolfgang,
Thank you for your idea, but, unfortunately, in our case it is not really
suitable, because we'll have to complicate our system very much.
Mark,
I have created the issue: https://jira.jboss.org/jira/browse/JBRULES-2380
Wbr,
Grigoriy
___
rule
ramram wrote:
>
> Hi All,
>
> I have found the exception in the fluent API. that is causing the below
> exception I think it is better to be fixed in the next release :
>
> Exception in thread "main" java.lang.ClassCastException:
> org.drools.workflow.core.node.ActionNode cannot be cast to
To avoid changing the fact classes:
(a) Use an inline eval, calling a static method from a Java package. (This
might also contain a constant or method for the error message.)
(b) If you have more duplications of the same quality, look into the topic
Templates in the Expert documentation.
-W
200
10 matches
Mail list logo