drools.getworkingmemory.startprocess(id) Starts a new process instance
for the process with the given id.
Section 6.8.4. Using a rule flow in your application of the (4.0.5)
manual gives more information.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Hi ,
what is the maximum rule complexity in Drools 4.0.7 .
are there any statistics regarding maximum rule complexity and load drools
support ?
regards ,
sekhar
--
View this message in context:
When I create a new RuleAgent with a package created with the BRMS
following Exception is thrown:
RuleAgent(BusinessRuleEngine) INFO (Wed Jul 23 12:00:32 CEST 2008):
Configuring with newInstance=true, secondsToRefresh=30
RuleAgent(BusinessRuleEngine) INFO (Wed Jul 23 12:00:32 CEST 2008):
Hello,
I want to use a generic Input-Object for drools which can i.g. access String
properties:
private HashMapParameter, String stringParameter;
with methods:
public String getStringPropertyValue(Parameter parameter) {
return stringParameter.get(parameter);
}
public void
The BRMS is using drools-core-4.0.7 and I was working with
drools-core-4.0.4.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hello ,
I just recognized, that this doesn't work. But it is possible to use plain
Java code in the rule, also if-conditions and for and while-loops etc..
However more Java code makes the rule less readable and elegant.
Is there another possibility to use generic input objects?
Thomas
Mike,
I think the collect will work, I'll have to look at it more closely because the
ordering of elements in the array is significant so I'm not sure I can just
break the elements up into facts and let collect group them however it will.
As a follow up, while my solution of using a global in
If you make your map available through a get, you can use simplified Map
syntax like this:
public Map getStringParameters() {
return stringParameter;
}
io: InputObject ( stringParameters[propertyname] == something)
[]s
Edson
2008/7/23 thomas kukofka [EMAIL PROTECTED]:
Ron, if your global is set before ***asserting facts to the working
memory and not changed anymore, you can use it.
Also, make sure your array or whatever is an attribute of a class, and so
has some semantic to it.
You can do things like this:
when
MyArrayContainer( $flags :
Hi,
you can try using eval
when
$io:InputObject()
eval($io.getStringPropertyValue(propertyname)==something)
then
..
2008/7/23 thomas kukofka [EMAIL PROTECTED]:
Hello,
I want to use a generic Input-Object for drools which can i.g. access String
properties:
Hi,
I am working with decition tables, I have differents xls files with
rules and I want to add multiple xls files to the same rulebase and
they will be merged into a single package.
I do the following:
private static RuleBase readTablaDecision() throws Exception {
//read in the
Hi,
I am working with decition tables, I have differents xls files with
rules and I want to add multiple xls files to the same rulebase and
they will be merged into a single package.
I do the following:
private static RuleBase readTablaDecision() throws Exception {
//read in the
Hi,
I am working with decition tables, I have differents xls files with
rules and I want to add multiple xls files to the same rulebase and
they will be merged into a single package.
I do the following:
private static RuleBase readTablaDecision() throws Exception {
//read in the
Make sure all the xls files have the same package declaration at the
top.
Barry
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vanina Beraudo
Sent: Wednesday, July 23, 2008 3:27 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] problems with
Hi,
I have installed BRMS (Drools 5) and create a repository for BRMS. When
I create a simple rule, like:
when
$object: Object()
then
System.out.println(ok);
end
all works fine, but... When I create a complex rule, using my own complex
classes and click in the validate button,
15 matches
Mail list logo