Re: [rules-users] Sliding windows and event retraction

2011-03-23 Thread Wolfgang Laun
On 23 March 2011 21:11, jwillans2 wrote: > Any help with the query below would be much appreciated. I am assuming > that > event retraction is not automatic using the pattern below, however I am > trying to come by an approach to ensuring only one event exists on an entry > point at any moment i

[rules-users] can't find google calendar and logging samples in drools flow workitems samples

2011-03-23 Thread Xinhua Zhu
Hi, In this paper, http://planet.jboss.org/post/drools_flow_work_items, it said drools flow work items provide calendar and logging samples, but I can't find them in source code ( http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-process/drools-workitems/). Anyone know where they ar

[rules-users] Configure custom SystemEventListener via Drools Spring

2011-03-23 Thread Steven Williams
Hi, I have just started using the drools-spring integration (5.1.1) and I would to use my own SystemEventListener instead of the default PrintStreamSystemEventListener however I am not sure if it is possible or how to configure it. thanks Steve ___ rule

[rules-users] Drool Tutorial

2011-03-23 Thread Heng hh
Hi all I m new comer in drools. Can some one help me on this? thanks and best regards Heng ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] WorkflowProcessInstance in DRL

2011-03-23 Thread Gareth Evans
Thought I'd update my post for anyone Googling this. I am not sure if my solution is correct (or if I am addressing the wrong problem) though it has been satisfactory so far in our testing environment. What I did was create an event listener implementing ProcessEventListener and RuleFlowEventListe

Re: [rules-users] Sliding windows and event retraction

2011-03-23 Thread jwillans2
Any help with the query below would be much appreciated. I am assuming that event retraction is not automatic using the pattern below, however I am trying to come by an approach to ensuring only one event exists on an entry point at any moment in time. One thought was that when a rule inserts a n

Re: [rules-users] DSL parsing in 5.2 and GUI hints

2011-03-23 Thread Michael Anstis
2. My preference would be to have bugs filed in JIRA :-) You could try for an immediate response on IRC #drools first. With kind regards, Mike On 23 March 2011 18:06, drdaveg wrote: > I have posted a few times about domain specific languages and have a few > issues for users and > dev that se

[rules-users] DSL parsing in 5.2 and GUI hints

2011-03-23 Thread drdaveg
I have posted a few times about domain specific languages and have a few issues for users and dev that seem of widespread interest. 1. The 5.2 document has less than one sentence on "hints for the gui editor." Could someone describe what these hints are and their syntax (i.e., {::}? Or to tie in

Re: [rules-users] endless loop even with "no-loop"

2011-03-23 Thread Esteban Aliverti
no-loop only prevents loops generated by the same rule. In your scenario, Rule A is triggering Rule B, which in turn is triggering Rule A, which is triggering Rule B... and so on. Try using lock-on-active instead: http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/i

[rules-users] Unknown process ID error.

2011-03-23 Thread smolnij
Hello gentlemen After the migration to from 407 to 501 drools, I opened in eclipse all old ruleflows and eclipse converted them to the new format. After I uploaded it to guvnor, I was able to compile one of my packages, but when I call drools session.execute method, I get the following error: ja

Re: [rules-users] [rules-dev] DRL - Local objects

2011-03-23 Thread Felipe Piccolini
Adhir, Im facing the same challenge using rules in a ETL process where performance is a main concern (some millisecs do the different when you have millions of executions), so I'm using Globals to keep data in the session. You can add a global object as a global variable in the session scope and

Re: [rules-users] endless loop even with "no-loop"

2011-03-23 Thread Anderson Neves
Hi. I like to add negated attributes in the condition, or other attributes that better describe the object state, like below. If you write two rules to the same object state, you should think to join the rules into one rule. rule when $object:Type(attribute=="value", secondAttribute == false

Re: [rules-users] endless loop even with "no-loop"

2011-03-23 Thread Gabor Szokoli
This is I think something all of us came across while learning Drools... So I searched for "drools loop faq" in google but nothing useful came up. I propose to extend the "inifinite recursion" section in the faq with the best practices for avoiding this! My favorite way to avoid unnecessary activ

[rules-users] endless loop even with "no-loop"

2011-03-23 Thread James Gu
Hi, I am working on rule and found that it is very easy to cause endless loop. For example: Rule 1 match status and update message. Rule 2 match type and update message. This will cause endless loop even I add "no-loop" on each rule. Is there anyway to avoid this? for example: each rule only exec

Re: [rules-users] Problem with "multiple instances" component

2011-03-23 Thread HMandic
Yes I did try that example and it works fine. But it still doesn't help because I have a "reusable sub-process" component inside "multiple instances". And that "reusable sub-process" has its own start and end nodes that are obligatory, otherwise I can't save it in the editor. I'm clueless... --

Re: [rules-users] Merge repository in Guvnor and editing brl with eclipse plugin

2011-03-23 Thread ioda100
Thank you to both of you for your answer, i will have a look at this to see if it can do what i want. On Wed, Mar 23, 2011 at 12:35 AM, Tihomir Surdilovic [via Drools - Java Rules Engine] wrote: > On 3/22/11 12:02 PM, ioda100 wrote: > > > Hi, > > > > I try to figure out how to import a package

Re: [rules-users] Eclipse Based Rule IDE

2011-03-23 Thread Mauricio Salatino
it's already integrated, or at least exposed right? http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html 2011/3/23 Suk Fung > I found an interesting feature from this link > http://community.jboss.org/wiki/Guvnor/diff?secondVersionNumber=40 about > Notification Engine and AtomPub int