I assume you mean in Guvnor?
AFAIK we only index on rule name, but I may be wrong. Not all assets are
stored as DRL and therefore indexing their content could present a major
change.
Please do raise a JIRA though if you consider the feature as required.
sent on the move
On 22 Oct 2011 00:34, w
Is it possible to perform keyword search within rule content? For example:
show me all rules that contain the word "person".
Thanks
G. Patel
-
The information contained in this communication (including any
attachments hereto) is confidential and is intende
Hi Diana,
This happens because the order in which things happen. Up to Drools 5.3,
Drools apply first filters (a.k.a., alpha constraints or literal
constraints), then the sliding windows, then the joins.
So in your case,
Notif( specificProblem == "New ONT" ) over window:length(2)
Dr
The When part of the rules is being handled by the RETE algorithm.
You should check about the algorithm to understand why debugging step by
step the WHEN part is not possible.
Cheers
On Fri, Oct 21, 2011 at 11:41 AM, rahulkrishnan wrote:
> Is there any Tools for debugging drl and bpmn except the
Is there any Tools for debugging drl and bpmn except the
KnowledgeRuntimeLogger or Eclipse debugger. In which i can debug the when
part also
--
View this message in context:
http://drools.46999.n3.nabble.com/Debug-Drools-tp3440999p3440999.html
Sent from the Drools: User forum mailing list archive
Hi everyone,
I believe that there is a memory leak when using WorkingMemoryLoggers with
statelessSessions. This was raised against 5.1.1 but I think it will still
exist in the latest as well.
Our code basically has the following pattern:
KnowledgeBase kb ==;
while(nextEvent()) {
What are you trying to achieve?
As each email goes back and forth we appear to be moving from your original
questions to, perhaps, nearer your requirement.
If you upload a XLS decision table to Guvnor and the necessary supporting
POJO model file you should be able to build the package therefrom,
But how do Guvnor do that?
In Guvnor i can upload a POJO and it integrate it into the PKG.
--
View this message in context:
http://drools.46999.n3.nabble.com/Problem-in-adding-a-Class-to-PKG-tp3437199p3440653.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
I think you are right, I change my test case. Just call dispose() at the
first time.
and the performance is the same as call it every time.
What ever the dispose method do, It is really really impact the
performance...10 times
for (int i = 0; i < 100; i++) {
FactHandle handle = session.insert(me
Definitely we are not in the same page :)
BPMN is also a semi-structured language to define business processes (BP
from BPEL and BPMN). The version 2 of the standard defines the language and
the execution semantic for defining Business Processes with a wider scope
than BPEL. Of course that BPEL and
Yes, the rule is very simple:
rule "message0to5"
when
msg: Case2Message (message0to5 =="qsdew")
then
msg.setPosition(1);
//System.out.println("postion is : 1" );
end
and some other rules like this.
We use this simple test to do the performance test.
Currently our project need to choose a rule en
It's probably because dispose unregisters from various listeners and clears up
some
housekeeping resources, timers etc. It's possible your rules are simple enough
that they don't need any of this and so not calling the listeners saves a
significant
amount of time - particularly if your test case
You cannot assign a value to a bound variable. $c is *bound to *the field
name of a PassThrough fact object.
Assigning values to regular variables can only be done in the consequence,
e.g.,
then
String s = hello("r");
...
end
You can use the modify statement (in the consequence) to change
But how to explain if I call dispose() in the loop the performance improve 10
times?
I already call the retract after every fireAllRules
I know we should not call dispose when we still need to use it.
--
View this message in context:
http://drools.46999.n3.nabble.com/StatefulKnowledgeSession-
On 21 October 2011 12:22, DerLonG wrote:
>
> laune wrote:
> >
> > If you can't import it with a DRL import, it's either misspelled or not
> in
> > the classpath.
> >
> I try to add it with the following code:
>
> PackageBuilder builder = new PackageBuilder();
> Resource rs =
> ResourceFactory.new
laune wrote:
>
> If you can't import it with a DRL import, it's either misspelled or not in
> the classpath.
>
I try to add it with the following code:
PackageBuilder builder = new PackageBuilder();
Resource rs =
ResourceFactory.newClassPathResource("de\\test\\xml\\KundenEntscheidung");
builder
You only need to dispose of the session when you no longer want the session.
It's perfectly valid to keep reusing the session as long as you want, inserting,
removing and calling fire all rules as many times as you want. If you do reuse
the session you just need to be careful that previous iteratio
B.T.W I use Drools 5.2 to test
--
View this message in context:
http://drools.46999.n3.nabble.com/StatefulKnowledgeSession-dispose-tp3440308p3440434.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
r
Hi
1.i have a rule like this
rule "Function Call"
dialect "mvel"
when
PassThrough( $c : name)
eval(($c = hello("rahul"))!=null)
then
System.out.println($c);
end
in this my function will return the string as capital
19 matches
Mail list logo