*Hi Jaroslaw Kijanowski *,
Thanks for your reply.here is some my jar content.
com/aklero/db/entity/InstClient.class
com/aklero/db/entity/RiderType.class
com/aklero/db/entity/AbstractDmsDocumentDataMapping.class
com/aklero/dms/DMSIntegrator.class
com/aklero/dms/DmsXmlParser.class
com/aklero/dms/DM
Dear all
We are developing a financial business application that contains hundreds of
business rules for validations and calculations. In the calculation rules we
change the value of attribute if values past in the request is incorrect e.g.
rule "TaxCalc"
when
$i : Invoice()
Hi,
I am still trying to setup Drools as OSGi classes. I have downloaded and
installed following plugins:
com.springsource.com.thoughtworks.xstream-1.3.0.jar
com.springsource.javax.rules-1.1.0.jar
com.springsource.javax.xml.stream-1.0.1.jar
com.springsource.jxl-2.6.6.jar
com.springsource.org.a
Only the solution which is reached by each chosen step is send to the
BestSolutionRecaller. If you do only one step, you 'd have to do some
dirty hack to get those other 4.
Maybe you can use your current Finish combined with AND and a at least 4
steps taken finish, to force at least (4 - 1 = )
Hi,
We have implemented a best score recaller to keep
the n best found solutions.
It seems to be ok except on very simple
test cases :
- On the first step, 4 moves are tested. They all
return a feseable score. The best one is kept and
sent to the solution recaller.
- After each of these moves,
Thanks for your quick response. Your previous reply solved my problem.
I failed to declaretimestamp attribute with the rule engine with an
assumption that rulesession will consider psuedo clock's time as event's.
After including the timestamp attribute, it works as expected.
Thanks once again.
200
It is hard to know what is wrong from the code snippets. Can you provide
the full test case so that I can reproduce locally? If so, plz open a JIRA,
attach the test case and ping me.
I am moving today, so I will probably not be much responsive till next
week, but I will try to look into th
Here is the Code Snippet:
currentTimeStamp = getCurrentTimeStamp(tuple, schArray);// the
method will the timestamp of the tuple
this.clock.advanceTime(currentTimeStamp -
clock.getCurrentTime(), TimeUnit.MILLISECONDS);
this.ruleSession.fireAllRules();
I use Pse
Since you are not declaring to the rules engine what is the timestamp
attribute, the engine uses the timestamp of the session clock at event
insertion. What kind of session clock are you using? how are you firing your
rules (fireAllRules() or fireUntilHalt())? How frequently are you feeding
the
Requirement:
To identify those tickets with "critical" severity which occurs after
2minutes but before 5minutes of a ticket with severity 'warning', provided
both are of different application name.
This rule though not meaningful, is considered to understand the temporal
operator.
This is the
Nicholas,
It seems that dialect configuration is not exposed yet through the
drools-api. We need to do that.
Would you please open a JIRA so that this is not lost?
Meanwhile, the work around is to fallback to the previous API:
JavaDialectConfiguration conf = (JavaDialectConf
Michael is correct. You need to add each resource to the knowledgebase
ensuring that functions needed by rules are added before the rules
themselves.
2009/7/2 Anstis, Michael (M.)
> I believe you will need to add each DRL file into a single RuleBase
> (Drools 4.x terminology; I think KnowledgeB
Hi,
http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-introduction/html_single/index.html#d0e1371
3.1.3.3. Installing Drools plug-in from zip file
and
3.1.3.4. Drools Runtimes
You could also use the update site: Drools 5.0 Eclipse Workbench for 3.4
http://www.jboss.org/drools/downl
I believe you will need to add each DRL file into a single RuleBase
(Drools 4.x terminology; I think KnowledgeBase in 5.0 but I'm a little
rusty).
Don't forget rules aren't evaluated when "fireAllRules" is called but as
objects are inserted into WorkingMemory, so all rules need to be
compiled int
hi,
I have requirement to execute a chain of rules. One rule after another
and they are reusable.I need to know how to call another drl file from a drl
file. or in a then part of the
a rule.
thanks
Amila Silva
___
rules-users mailing list
rules-use
Thank you very much, I made it working using a similar manual procedure. But
that is unbelievable that there is no documentation about this.
Regards
Aldian
2009/7/2 Ross H
> I just unzip it and place into the dropins folder in eclipse. So you have
> the following folders:
> eclipse
> - dropins
Hello,
I have a little test case as follows:
import org.drools.builder.KnowledgeBuilderConfiguration;
import org.drools.builder.KnowledgeBuilderFactory;
import org.junit.Assert;
import org.junit.Test;
public class TestDrools5Config {
@Test
public void testConfig() {
I have a simple process with action and one human task.
When I'm starting a process, I add a variable this way:
Map data = new HashMap();
data.put("data3", "this is data3");
ProcessInstance pi = ksession.startProcess("com.sample.ruleflow",data);
Another data I put in variab
I just unzip it and place into the dropins folder in eclipse. So you have
the following folders:
eclipse
- dropins
- drools-5.0-eclipse-all
works nicely.
I use the j2e version of ganymede - that probably has GEF.
2009/7/2 Gab Aldian
> Hi everybody
>
> I am very sorry to ask for something
19 matches
Mail list logo