Guided Editor in BRMS / Guvnor Version 5 (Snapshot of 26 June)
by Paul Browne
Folks,
For various reasons I'm trying out the Guided Editor for Business Rules in
the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App
Server 4.2.2GA).
I've created the Package / Category and uploaded a simple fact model (as
works in BRMS version 4). I create a new business rule using the guided
editor and the screen shows successfully with both 'When' and 'Then'
parts.Assume the next question is due to me missing something, but wanted to
double check:
When I press the green '+' to the right of the screen I am shown the message
/ dialog layer saying '
*Add a condition to the rule... *or* Add an action to the rule.
*Problem is that there doesn't appear to be a way of adding a condition or
action. The only thing I'm seeing in the logs is
* (Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
*Am I missing something or should I come back to Guvnor later in the
development Cycle?
Thanks
Paul
12 years, 9 months
drools compiler issue
by Abu Rasheed
I'm using the Drools 5.0.0 M5, with Guvnor, when I tried to save and
validate my configuration, I got this error:
[ERR 102] Line 5:63 mismatched input '-'
It's pointing to this line:
import <my pachage path>.package-info
Does drools support package with "-" characters? The package is part of
jaxws generated artifacts.
Thanks
14 years, 11 months
Can drools continue testing even if one of the conditions fail ?
by DroolUser
Hi,
I'm using drools for testing if the few attributes of my MO are not null.
I construct the rule in the .drl file in following way :
rule "name"
when
condition1
condition2
condition3
condition4
then
consequence
end
I have observed that the drool engine verifies the conditions line by line
(in the sequence they have written). The moment condition fails, control
comes back to the calling method.
I don't want this. I want the control to execute each and every condition
whether true or false and maintain a record of passed/failed conditions.
Something like this :
rule "name"
when
condition1
log the test result --- This statement should get executed
even if condition 1 fails and control should go to condition 2
condition2
log the test result
condition3
log the test result
condition4
log the test result
then
consequence
end
Is this possible in Drools ?
--
View this message in context: http://www.nabble.com/Can-drools-continue-testing-even-if-one-of-the-cond...
Sent from the drools - dev mailing list archive at Nabble.com.
15 years, 7 months
Rule templates fed from objects
by Wolfgang Laun
Actual parameters for Rule Templates are currently supposed to come from
decision tables, actually spreadsheets.
It would not be too difficult to extend the current API so that rule
instantiation takes the actual parameters from an object.
What do you think?
-WL
15 years, 9 months
Drools Boot Camp (San Francisco June 2009 ) Now On
by Mark Proctor
http://blog.athico.com/2009/03/drools-boot-camp-san-francisco-june.html
(blog entry quoted below)
The Drools Boot Camp has the go ahead, a big thank you to Third Pillar
<http://thirdpillar.com/> for sponsoring the meeting room.
The Drools team meeting forms the basis of the week long event, but we
make it open to the public, free of charge, to participate as an
informal boot camp. You may attend as little or as much of the event as
you wish, there is no commitment, just please give us notification of
when you wish to attend as there are limited spaces ( mproctor at redhat
d0t com ).
We will provide some dedicated seminars, including a Drools 5.0 primar
on the first day for those that want to know what's new in Drools 5.0.
Location
The location is San Francisco, during the JavaOne period, at the Hilton
Hotel (750 Kearny Street)
<http://www1.hilton.com/en_US/hi/hotel/SFOFDHF-Hilton-San-Francisco-Financ...>.
Expedia have rooms from $103 per night, at the booking time for my team
and I.
<http://4.bp.blogspot.com/_Jrhwx8X9P7g/Sc7rltSh6yI/AAAAAAAAATk/JIDberPEBw8...>
Dates and Times
Start : Monday 1st of June 09.30
End : Saturday 7th of June 17.00
Time Tabled Sessions
We plan to do a few time tabled sessions. The current proposals are
subject to change, and suggestions are welcome - we don't plan to do a
"getting started" or "best practice" session. Other than the primer the
sessions will be in BOF casual discussion style seminar with an emphasis
on audience particitation for Q&A and suggestions, not dedicated slides
with pre-made material, beyond useful illustrations, so expect lots of
walking through code and white board use :) It can also be a great time
to give feedback and suggestions for those topics.
Drools 5.0 Primer : Monday 1st of June 10.00 to 13.00
* The new features in Drools 5.0 will be covered at an end user
level. This includes all the drools projects, Guvnor, Flow, Fusion
and Expert. This is suitable for anyone with minimal previous
Drools experience who just want to know "what's new".
Drools 5.0 Guvnor Internals : Tuesday 10.00 to 12.00
* The internals of Guvnor will be discussed and how all the parts
come together and current issues and directions we wish to take
the project. This is suitable for anyone with minimal previous
Drools experience, but ideally you should be aware of GWT, JCR and
Guvnor in general. This is targetted at people who wish to extend
Guvnor with new features or re-use/embed existing aspects of Guvnor.
Drools 5.0 Advanced Engine : Wednesday 10.00 to 13.00
* This will be a deep dive for the technical on Rete enhancements.
We will cover the asymmetrical Rete implementation, as compared to
the traditional symmetrical approach, and how we enhanced it for
event processing and workflow. This is targetted at experienced
people, who already have an understanding of Rete and wish to
understand the latest research and innovations - not for the feint
hearted.
Drools 5.0 Domain Specific Workflow : Thuresday 10.00 to 12.00
* We will show how Drools Flow can be extended for domain specific
workflow, with a focus on the pluggable Work Items and Eclipse. We
will also cover the pluggable workflow framework for customised
execution behaviour, such as is used to provide OSWorkflow
compatability. This is suitable for anyone with a java and eclipse
background, ideally you should have some understanding of what
Drools and especially Drools Flow is.
If you are using Drools in a novel or interesting way and wish to do a
short presentation, that is very much welcome, just please email me for
confirmation so we can make sure we are prepared and even promote that.
If a few people wish to do this, we can make a dedicated end-user
speaking session.
Agenda and what goes on
While we have the time tabled sessions, there is no formal agenda beyond
that. The Drools team will be there planning their next road map,
hacking on new features and fixing some bugs - this will be a continous
process throughout the week. We encourage you to participate and ideally
contribute and we will provide lots of hand holding and mentoring.
Outside of the time tabled sessions you'll probably feel out of place if
you aren't coding away on a laptop.
Ideally, but not essential, you will already have ideas on areas you
wish to improve and we'll assist. Last year we got great contributions
to Guvnor from Joe at Recondo Technologies and Michael at Franklin
American, neither had any prior experience on hacking Drools, although
both turned up knowing what it was they needed added to Drools for their
companies.
Limited time will be given to those just wishing to discuss how to use
Drools in their applications and best practices, but not looking to do
any coding. The basis of this time will be on how interesting it is to
the Drools team, and whether their is a knowledge exchange that is
useful to us - i.e. interesting and uncommon use cases. This event
really is summarised as "Don't ask what it is Drools can do for me, but
what I can do for Drools" :)
Here are two pictures from last year, where we fitted everyone out with
Drools T-Shirts :)
<http://1.bp.blogspot.com/_Jrhwx8X9P7g/Sc8DR5fcp5I/AAAAAAAAAT0/OuGOcoNGaag...>
<http://3.bp.blogspot.com/_Jrhwx8X9P7g/Sc8DRuzLiLI/AAAAAAAAATs/68HG-zTWQbU...>
15 years, 9 months
Miss Manners
by Mark Proctor
I was wondering if anyone fancied having a go at improving Miss Manners
to make it harder and less easy to cheat. The problem with manners at
the moment is that it computes a large cross product, of which only one
rule fires and the other activations are cancelled. What many engines do
now is abuse the test by not calculating the full cross product and thus
not doing all the work.
Mannsers is explained here:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
So I was thinking that first the amounts of data needs to be increased
from say 128 guests to 512 guests. Then the problem needs to be made
harder, and the full conflict set needs to be forced to be evalated. So
maybe the first assign_seating rule is as normal where it just finds M/F
pairs with same hobbies, but additionally we should have a scoring
process so that those matched in the first phase then each must have
some compatability score calculated against them and then the one with
the best score is picked. Maybe people have other ways to improve the
complexity of the test, both in adding more rules and more complex rules
and more data.
Mark
15 years, 9 months
Drools Boot Camp and San Francisco
by Mark Proctor
I'm still trying to get budget approval. We are looking at the Hilton at
the moment as expedia have rooms at $103 per day, which is very good
value. I can get travel and room budget for my team, but not meeting
room budget. The meeting room is $400 per day, I might be able to
negotiate a little off that, and we will need "sponsors" to cover the
price of the meeting room for the week, if this is to go ahead.
We are looking at a date range of:
arriving - 31 of May
departure - 8th of June
So we'll need a room from the 1st to the 7th, inclusive. If you are able
to sponsor the meeting room for a day or two, or more :), please do let
me know as soon as possible.
Thanks
Mark
15 years, 9 months
documentation patch
by Wolfgang Laun
Hello,
might this be the list where documentation patches (diff -u) are welcome?
They're against
drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml
from a today's download of drools-5.0.0.CR1-src.zip.
Is this also the list where I might discuss clarifications for hazy
formulations?
Thanks
Wolfgang
15 years, 9 months
Drools Boot Camp possibly in San Francisco for June
by Mark Proctor
As I'm going to be at JavaOne <http://java.sun.com/javaone/> we are
thinking about combing this years boot camp at the same time, if we can
get budget approval. We don't yet have a hotel booked or meeting room
available, so if you can recommend a cheap but good hotel with
conference facilities for approx 15-20 people, or better still can
donate meeting room facilities then please let me know.
Thanks
Mark
15 years, 9 months