The easiest suggestion would be to store DRL in your database ;)
These is a (dieing) BRL XML format but I believe its use is discouraged (as
it's essentially an XStream output of a object model).
You could also look at writing a persistence layer over FactModel which is
the foregoing object model
Well, if it can work that way it should. I'd say open a JIRA and request that
feature. It works with the "principle of least confusion." :)
--- On Thu, 3/24/11, jkrupka wrote:
> From: jkrupka
> Subject: Re: [rules-users] accumulate min over java.util.Date
> To: rules-users@lists.jboss.org
>
Hi All,
I am new to this Drool rule ingine use.
Normal drl is working for me.
But mu requirement is i need to configure all the rules in Data base and
from there i need to inject to the Rule engine.This is beacuse Rules can be
configured any point of time.
Please let me know if is there any spe
Yea the docs weren't really clear about it, so I just thought it would work
for anything that implemented Comparable =)
Yep, used the long from getTime() - not the prettiest way of doing it, but
it works great.
Thanks!
--
View this message in context:
http://drools-java-rules-engine.46999.n3.na
Hi,
I have setup about 10 rules in the rulebase. Can you tell me how I
can execute more than one specific rule at the same time? Please help
Thanks
Benson
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listin
yes I think that it's perfectly possible..
As long as you load first the drl file that include the definitions and then
the processes that uses that data types.. it should work.
Let us know if you find any problem around that..
Greetings.
2011/3/24 Jordi Alvarez
> Hello, we are starting a projec
Hello, we are starting a project using Drools and we are interested in the
conbination of fact models defined in drl files and processes.
We have been looking for documentation regarding this issue, but we have
seen only examples of combining drl-defined types from within rules.
We are interested
Hey All
Can anyone please point me to documentation explaining how to get a WSDL
with a service endpoint generated for the Drools server?
Cheers!
Peter
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman
As Greg eludes to the default "min" accumulate function expects
(java.lang.)Numbers.
If you require one to handle dates you can write your own custom Accumulate
Function.
On 24 March 2011 17:50, Greg Barton wrote:
> That's because a java.util.Date is not a java.lang.Number. :) You can get
> th
That's because a java.util.Date is not a java.lang.Number. :) You can get the
long value behind the Date by calling Date.getTime(), though. Try that.
--- On Thu, 3/24/11, jkrupka wrote:
> From: jkrupka
> Subject: [rules-users] accumulate min over java.util.Date
> To: rules-users@lists.jboss.
Hi,
We almost reach to merge 2 repositories using eclipse plugin but had to
create first package then upload the new model jar then only the
ressources. Still have tests to do to be sure it's doing all well.
But now i face problem with package generated with Guvnor.
I generate a full package wit
Should I be able to do an accumulate min over java.util.Date objects? Like
this:
$minDate : Date() from accumulate(MyFact ($startDate : startDate),
min($startDate))
I would have thought so, but when I try it, I'm getting:
Caused by: java.lang.ClassCastExc
Hi.
Any chance that this could be reviewed and maybe integrated into the
release?
https://jira.jboss.org/browse/JBRULES-2672
Regards,
Veit
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
See https://issues.jboss.org/browse/JBRULES-2932.
Stack:
Caused by: java.lang.NullPointerException
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:323)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:268)
at org.drools.rule.builder.P
JIRA closed, because it turns out that Drools 5.2.0-SNAPSHOT now relies on
MVEL 2.1-SNAPSHOT. I had 2.0.19 in the dependency tree.
Now I'm hitting another NullPointerException within the bowels of
drools-compiler; I'll file that JIRA shortly.
--
View this message in context:
http://drools-java-
Hi
General question on the drools planner. If I'm not mistaken, I see three
ways to impose hard constraints:
1. Generate violations in the scoring DRL.
2. Check them in isMoveDoable
3. Do not create moves in the MoveFactory which cause hard constraints to be
broken.
For safety I would always a
JIRA filed: https://issues.jboss.org/browse/JBRULES-2931
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-5-2-0-SNAPSHOT-drl-broken-tp2724780p2724897.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
My rule that I'm using in unit testing only looks like this:
rule "Testing contains"
dialect "mvel"
when
Response( $answerSelections : answerSelections )
AnswerSelection( answer.ID in (2, 3) )
then
System.out.println("Testing contains activated")
end
Response has a getAnswerSele
Hi, I don't know where that code is but it's very easy to create your own
work item. You can create your own using any type of framework and
communicate with any other type of application.
Greetings.
PS: by the way, now the jBPM5 project is hosted in git at:
http://www.github.com/krisv/jbpm
20
Hi, I'm creating some slides about Drools too, like a community training:
take a look at:
http://salaboy.wordpress.com/2011/02/23/drools-5-community-training-announced-roadmap/
I will be posting more modules next week.
Greetings.
2011/3/24 Michael Anstis
> Your best starting point would be to r
Maybe your actual business needs have a procedural, flow chart like
aspect to them?
You can chain ruleflow groups in Drools Flow...
If your needs are mostly declarative and you'd like to handle a rare
exception with this "fire once" rule, it can be done of course by
tweaking the rule a bit:
One wa
If you don't want to change your rules (add conditions, controls facts
...), you can set an AgendaFilter that only accepts rules not executed yet.
If your rules are not chaining (ie one rule changes an attribute that
trigger another rule), you should use sequential mode.
Le 24/03/2011 10:27, Jam
I tried lock-on-active and it is better than no-loop because it can avoid
activate other rules in a group. Maybe it is too strong for me.
What I want is :
rule 1 change a attribute and it tells other rules (for example, rule 2)
that the fact data is changed. rule 2 change another attribute, but d
Your best starting point would be to read the Drools Expert documentation
and look through the examples.
Any questions you may subsequently have can be asked here and people will
always be willing to provide assistance.
With kind regards,
Mike
On 24 March 2011 03:13, Heng hh wrote:
> Hi all
>
24 matches
Mail list logo