On 14/02/2013, AlesD wrote:
> Thanks,
>
> thats it. I did not know that the variable binding has to precede
> variable
> use. It makes sense, but with all the "declarative vs. procedural"
> reasoning
> I simply missed it. It is not stated explicitly in the manual.
Indeed, but how did you ever c
Hi
I have a problem with calendars in guvnor. I want to use calendars feature
in my rules and I've defined such rule in Guvnor:
rule "CalendarTest"
calendars "AUD Home Loans"
no-loop true
dialect "mvel"
when
then
System.out.println("CALENDAR IS
Which version are you using?
The RuleAgent is not part of the public API and has not been developed for
some time..
could you please use the KnowledgeAgent instead (see section 3.2.6 in the
manual),
and let us know if you still have problems?
Thanks
Davide
--
View this message in context:
http:
Thanks,
thats it. I did not know that the variable binding has to precede variable
use. It makes sense, but with all the "declarative vs. procedural" reasoning
I simply missed it. It is not stated explicitly in the manual.
Ales
--
View this message in context:
http://drools.46999.n3.nabble.
Hi,
I have been trying to write the following code to automatically deploy any
changes made to the rules. However i am getting nullpointerexception errors.
I see many posts regarding this topic and have tried different options but
the error won;t go away.
public static void main(String[] args) {
FWIW, the corrected rule works, irrespective of the position of the "exists" CE.
rule killphone
when
exists Customer()
$unused: Phone( $value: value )
not Customer( phone == $value )
then
retract( $unused );
end
-W
On 14/02/2013, Wolfgang Laun wrote:
> Please restate your probl
Please restate your problem, correcting (see below)...
On 14/02/2013, DOLECEK Ales wrote:
> rule "Remove unsued phones"
> when
> exists Customer()
> not Customer(phone == $value)
> $unused: Phone($value: value)
> then
> retract(
Abstract/Paper Deadline Extended to Feb. 21st/Feb. 28th ++
Call for Papers, Call for Demos, Call for PhD Papers
RuleML 2013: 7th International Web Rule Symposium
University of Washington, Seattle,USA, July 11-13, 2013
http://2013.ruleml.org
The RuleML2013 Conference is also hosting:
Hello,
I have following rule:
rule "Remove unsued phones"
when
exists Customer()
not Customer(phone == $value)
$unused: Phone($value: value)
then
retract($unused);
end
There might be multiple Customer and Phone fac
I can't say much about drools server. I went for a Spring web app wrapping a
stateful session, and exposing itself to .NET applications via a SOAP API and a
bit of REST. But that's cos I like Spring. :)
If you do need to work with a stateful session, you shouldn't need to 'isolate'
any data as
Hello all,
I am new to drools. My company is looking into switching from a commercial
rule engine to drools. Our existing codebase is .net not Java. We are
trying to integrate drools into our existing .net application by calling
into a drools-server using it’s restful interface.
Our curren
> We've been through this kind of discussion time and again...
Indeed you have. I remember when this forum helped me with my exact same
misunderstanding when I was struggling with my very first HelloWorld.DRL.
Thank you to this DROOLs forum (and especially Wolfgang) for being so gentle
and
Thanks for your reply.
Finally I managing by using a free DRL condition form like that :
eval(myCal.isInInterval("@{minInterval}", "@{maxInterval}"))
The Keyword @{var} has the effect of a Template Key. It's your response from
your JIRA (GUVNOR-1431) that helped me =D
Thank you again! Keep g
Hello,
I am trying to upgrade our project to jdk7 and in the process,
upgrading from drools 5.1.0 to drools 5.5.0.Final and I have a few
questions.
1. Is 5.5.0.Final compatible with jdk7 and is it the production version?
2. When I compile our code with 5.5.0.Final, I see the following
com
On 14 Feb 2013, at 14:14, Stephen Masters wrote:
> I don't use the JSR-94 API, but I'd go along with Ben regarding its value in
> getting the product into businesses. Pre-sales meetings tend to involve the
> sales guys asking what other products are being evaluated, and you can pretty
> much
We are refactoring internal api's, JSR94 will need to move public apis. So we
have to decide if it's worth spending the week refactoring it, or whether we
just remove it. Our resources are finite, so it's always good to review what is
really necessary.
It's about the same amount of time to add
I don't use the JSR-94 API, but I'd go along with Ben regarding its value in
getting the product into businesses. Pre-sales meetings tend to involve the
sales guys asking what other products are being evaluated, and you can pretty
much guarantee that the competition are going to point out that D
On 14/02/2013, mohdejaz74 wrote:
> Actually stateful session is being used. Everytime a request is served, a
> new
> stateful session is created and then at the end it is destroyed. Fact (only
> 1 tree-like object) is loaded into session. The results of executing rules
> is captured in a list obje
If you consider Drools Expert (the core engine) as a component, then
certainly, yes, it can be integrated into a system that both utilizes
persistence and communicates via web services in various ways respectively.
As for working examples, I'm of the opinion that would be stretching the
point of th
Hello
I worked on adding a shift date start and a shift date time. I did it in
Shift.java file, I think that's the right place.
Then in EmployeePanel.java, I calculate the value for these two fields (I
think there is no way to assign them directly with a link between Shiftype
and Shift.
Then I tri
Even if you find evidence that nobody is using JSR-94, I still would not
nuke it.
Technically, it is /the/ Java standard API for inter-operating w/ Rules
Engine providers. Every project under the JBoss brand seems to
prioritize the merits of its platform stack being 100% open-source and
10
Actually stateful session is being used. Everytime a request is served, a new
stateful session is created and then at the end it is destroyed. Fact (only
1 tree-like object) is loaded into session. The results of executing rules
is captured in a list object.
So do you guys think it is OK to follo
Yeah, you are right, i was talking about fact events.
It seemed to me that the use case described by Ejaz was in streaming
context.
On Thu, Feb 14, 2013 at 11:34 AM, Wolfgang Laun wrote:
> On 14/02/2013, Matteo Cusmai wrote:
> > The facts should be immutable, so you should remove them and inser
On 14/02/2013, Matteo Cusmai wrote:
> The facts should be immutable, so you should remove them and insert again
> when they change.
> If your facts change often, you have to consider to use fusion where your
> facts will be events.
This is a very restricted view of what facts and events should be
You could try using a combination of BRL Fragments and DSL.
Define your DSL as the expression: [when]My calendar is between {p1} and
{p2)=eval( myCal.isInInterval("{p1}", {p2}") and use the DSL in a BRL
Fragment.
With kind regards,
Mike
On 14 February 2013 09:13, nbe42 wrote:
> Hello,
>
> I'm
Hello,
>Q1 : How can Drools runtime (Knowledge builder / base) gets/collects
*.brl, .drl files from Guvnor (using REST api, ) ?
It should be possible to use KnowledgeBuilder with URL resources to
retrieve *source* from Guvnor's REST API. Many Guvnor assets are stored in
an internal format (BR
Hello,
I'm pretty new with Guvnor (5.5) and I need some help to write a rule.
I have to write a rule with the web guided decision table editor. I have in
my working memory a calendar object with a function for verify if the
current date is in an time interval.
Now, I'm using a predicate and wr
Firstly a correction.
Drools "rule engine" otherwise known as Drools Expert does not use JCR by
default. Guvnor (Drools rule authoring and management web applicafion) does
use JCR as its persistent store. JCR is better thought of as a hierarchical
data store than a (R)DBMS.
That said Drools Exper
28 matches
Mail list logo