GUVNOR-1731 and GUVNOR-1732
by GPatel@tsys.com
Any idea when GUVNOR-1731 and GUVNOR-1732 will be fixed?
http://issues.jboss.org/browse/GUVNOR-1731
http://issues.jboss.org/browse/GUVNOR-1732
I would think at least 1732 is urgent; it is a feature that is supported
in BRL but not supported in DSL
Thanks
Ghanshyam
-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you
13 years
Rules Hello Evalution
by freejava
Hello,
I have the following rule:
rule "041"
when
Party(partyType != null, partyType.trim() != "",
partyType not in ("MF", "SE", "BY", "ST", "LG", "CS", "CN"))
then
appendMessage(globalErrors, drools)
end
This is rule is getting fired 7 times when Party.partyType = " ". If my
understaning is right, this rule should be interpreted as select all Party
from working memory where partyType is not null and partyType.trim() != ""
and partyType != "MF" and partyType != "SE" .... and so on. The consequence
should not be evaluated in the first place as the value for partyType is "
".
Am I missing something ? Any help in this regard is highly appreciated.
--
View this message in context: http://drools.46999.n3.nabble.com/Rules-Hello-Evalution-tp3602504p3602504...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Drools integration common practice
by mike
Hi there,
My company (a large HRMS vendor) wants to leverage the business engines
implementations to Drools. I am in charge of doing the piping job. So far
I've been loading objects into session and running drl files using the java
API directly. That works nice, but it keeps me in java land which makes any
programming effort 10 times harder than what I would like. At the same
time, I've been following this list and I see a lot of questions about the
Guvnor REST API. So as far as I know I have 3 choices to integrate with
Drools,
1. Java API
2. REST calls to Drools web server
3. REST calls to Guvnor
I wonder if there are some rules of thumbs on when to use which. I also
wonder what's the most common used method in average. At this point I am
leaning towards #2 because I don't need Guvnor yet. But in general I think
the REST API is a more flexible choice.
Any suggestion or a simple "I use X" will be very appreciated.
Thank you very much
Mike
13 years
Drools execution error...
by domingo
I have one simple rule, just check the boolean attribute of the object and
print the value of the boolean, that simple rule. I am using java as my rule
dialect. I found something interesting while debugging.
1. When i read the drl file from the local file stream I found the
following...
getDialect ::: java
getConsequence :::
my.test.package.name.TestOne.Rule_boolean_test_rule_0DefaultConsequenceInvoker@b3a21684
2. when i read the same drl from the guvnor I found the following...
getDialect ::: mvel
getConsequence ::: org.drools.base.mvel.MVELConsequence@67bc67bc
Here is is my doubt...since i use the same rule file and 'java' as dialect
why the consequence and dialect are diffrence from ocal file stream.
If anyone clear this doubt will be greatly appreciated.
-----
with kind regards,
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-execution-error-tp3606864p360686...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
PatternBuilder createRestriction bug on Drools 5.1.1
by Manuel Ortiz
Dear Sirs:
I'm working on an application which writes a set of rules using information
which is stored in BDD tables. This information can be 'wrong' concerning
rule compilation, and I expect that Drools reports the corresponding
compilation errors.
I've found that PatternBuilder.createRestriction() fails to process
composite restrictions when one of the single restrictions cannot be
implemented. The problem is that although one of the sigle restrictions is
returned null, the composite restriction array is succesfully returned, one
of its elements being null, wich causes a NullPointerException when the
composite restriction is processed in
PatternBuilder.build(AbstractCompositeConstraint version) to obtain a
MultiRestrictionFieldConstraint object.
I would like to know if this bug has yet been reported and fixed in some
Drools version beyond 5.1.1
Thank you very much for your time.
Kind regards,
Manuel Ortiz
13 years
drools consequence and dialect
by domingo
I have one simple rule, just check the boolean attribute of the object and
print the value of the boolean, that simple rule. I am using java as my rule
dialect. I found something interesting while debugging.
1. When i read the drl file from the local file stream I found the
following...
getDialect ::: java
getConsequence :::
my.test.package.name.TestOne.Rule_boolean_test_rule_0DefaultConsequenceInvoker@b3a21684
2. when i read the same drl from the guvnor I found the following...
getDialect ::: mvel
getConsequence ::: org.drools.base.mvel.MVELConsequence@67bc67bc
Here is is my doubt...since i use the same rule file and 'java' as dialect
why the consequence and dialect are diffrence from ocal file stream.
If anyone clear this doubt will be greatly appreciated.
-----
with kind regards,
--
View this message in context: http://drools.46999.n3.nabble.com/drools-consequence-and-dialect-tp360546...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Big BPMN2 processes are dificult to watch/edit inside Guvnor?
by jwest
Hi there,
We imported a fairly big BPMN2 process inside Guvnor, but the only way to
reach/watch some parts of the process is through zooming out the model.
Unfortunately, by then, the process is too small to be read/edited. The
yellow arrows at the edges that allow to increase the canvas size don't seem
to help us. Ideally, we would just like to be able to scroll up/down and
sideways through the whole BPMN2 process without zooming it out, but the
scroll bars seem to be limited to a small area. Is there a way to change the
scroll bars limits?
Cheers,
--
View this message in context: http://drools.46999.n3.nabble.com/Big-BPMN2-processes-are-dificult-to-wat...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years
Action
by Alan Ma
Hi Drools Rulers,
I am new to drools and I've configured a rule with the following:
------------------------------------------------------------------------
rule "my rules"
ruleflow-group "nike"
no-loop true
when
$nikeShoe : NikeShoe() from shoeManager.getNikeShoe(xxxx)
then
xxxx
end
------------------------------------------------------------------------
When I run rule group "Adidas", the getNikeShoe() query in group "nike" is executed. Although I did NOT invoke the rule group "nike" when executing rules, the shoeManager. getNikeShoe () call is always executed. Seems somehow the condition is pre-checked by drools somehow. Anyone could please share what I did wrong? I definitely don't want to invoke group "nike" when executing group "Adidas".
Thanks in advance!
Alan M.
________________________________
CONFIDENTIALITY NOTICE: The information contained in this message is intended only for the recipient and may contain information that is confidential. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient; please be aware that any dissemination, forwarding, printing, copying, disclosure or distribution of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender by replying to the message and deleting all copies, including attachments, from your system.
13 years
Decision Tables Examples
by Juanker Atina
Hi there,
I want to try some more examples of decision tables.
- I have tried with the example from eclipse (drools plugin -> create new
decision table)
- TeamAllocationExample.xls and CheckAccepted.xls too (easy to find on
google).
But all of them are created in horizontal way (each rule is one row). Could
you please tell me where can i find vertical way examples ?
As i'read it could be possible (see
http://www.slideshare.net/manstis/buenos-aires-decision-table-presentation)
but i can't find any example out there.
Thanks.
13 years