Re: [rules-users] Catch 22 ANTLR DSL matching issue

2011-05-27 Thread Wolfgang Laun
See inline. On 27 May 2011 20:19, jstroup wrote: > Hi Droolers, > > Regarding this blurb from the 5.2 DSL reference: > > > [snip] > > Given this DSL (test_expander.dsl) > > [when](C|c)heese is "{type}"=Cheese(type=="{type}") > [when](is|hails|comes) from {country}=Cheese(country=="{country}")

Re: [rules-users] Decision Tables with Business Rule Tasks?

2011-05-27 Thread Michael Anstis
The same place as any attribute, like Salience, Agenda-Group etc Section "5.1.4.2. Keywords" in Drools Expert 5.1.1's documents talks about it a bit. Cheers, Mike On 27 May 2011 22:02, mmcintosh wrote: > Thanks for your response. I have not seen any example of this. Where does > the > ruleFlo

Re: [rules-users] Decision Tables with Business Rule Tasks?

2011-05-27 Thread mmcintosh
Thanks for your response. I have not seen any example of this. Where does the ruleFlow-group attribute go on the spreadsheet? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2994420.html Sent from the Drools: User forum mailing

Re: [rules-users] drools date compare not working as documented

2011-05-27 Thread magaram
I got this test case to work with Drools 5.1.1 - but I think the latest 5.2 distribution has an issue with date comparision. -- View this message in context: http://drools.46999.n3.nabble.com/drools-date-compare-not-working-as-documented-tp2994330p2994394.html Sent from the Drools: User forum mai

Re: [rules-users] Decision Tables with Business Rule Tasks?

2011-05-27 Thread Michael Anstis
You can add the "ruleflow-group" Attribute to the XLS form, or in Guvnor using the guided editor. Decision Tables compile to a common form that KnowledgeBuilder uses to create your "engine"; so AFAIK using them in a flow should not be a problem. With kind regards, Mike On 26 May 2011 22:03, mmc

[rules-users] drools date compare not working as documented

2011-05-27 Thread magaram
hi - i am using drools-distribution-5.2.0.M2. Here is the drl i am using - -- dialect "mvel" import com.deltadental.drools.sample.* rule "Rule 01" when $underageCustomer : Customer(dob>"15-May-1993") $order : Order(customerId == $underageCustomer.customerId) eval($order.di

Re: [rules-users] Catch 22 ANTLR DSL matching issue

2011-05-27 Thread jstroup
Correction: I meant the DSL Parser - Not the Guvnor DSL Editor. But the UI could politely ask the user what alternative IS viable since it has access to all of them. -- View this message in context: http://drools.46999.n3.nabble.com/Catch-22-ANTLR-DSL-matching-issue-tp2993923p2993959.html Sent fr

Re: [rules-users] Rule Flow and Stateless Session

2011-05-27 Thread Tihomir Surdilovic
Hi John, this is a known issue https://issues.jboss.org/browse/JBRULES-2718. The fix is in 5.2.0.CR1 which you can get from http://www.jboss.org/drools/downloads.html. Thanks. On 5/27/11 12:14 PM, John Peterson wrote: I'm having some difficulty getting a rule flow with a stateless session to w

[rules-users] Catch 22 ANTLR DSL matching issue

2011-05-27 Thread jstroup
Hi Droolers, Regarding this blurb from the 5.2 DSL reference: "It is important to note that the compiler transforms DSL rule files line by line. In the above example, all the text after "Something is " to the end of the line is captured as the replacement value for "{colour}", and this is used

Re: [rules-users] [Drools Flow 5.1] Updating a process definition -> Proceed updates running processes

2011-05-27 Thread anton.litvinenko
Greg, your guess is correct! The process instance is in fact persisted in db for the period waiting for response in node 2. Guys from dev-team, do you agree that this is a bug and should be filled in Jira? -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Flow-5-1-Updati

[rules-users] Rule Flow and Stateless Session

2011-05-27 Thread John Peterson
I'm having some difficulty getting a rule flow with a stateless session to work. Essentially, it is just executing the first task and then stops. I'm using Drools 5.1.1 and I just built the sample Drools by creating a new Drools Project. My rule flow is simple: Start-RuleGroup1-RuleGroup2-End

[rules-users] Thread hung while trying to addKnowledgePackages

2011-05-27 Thread nirmal
Hi, I am trying to do some drools calls on startup of application server(Websphere) and the server gets hung at a point and shows the following warnings. Any pointers or help appreciated. [5/26/11 17:28:02:977 EDT] 0020 ThreadMonitor W WSVR0605W: Thread "SoapConnectorThreadPool : 1" (

Re: [rules-users] DSL Entry Question

2011-05-27 Thread Wolfgang Laun
On 27 May 2011 16:24, jstroup wrote: > Hi, > > The 5.2 docs list the following example DSL entry > > [when][][Tt]here is an? {entity:\w+}=${entity!lc}: ${entity!ucfirst} () > > Oops, there is a spurious '$', the second one. It should be =${entity!lc}: {entity!ucfirst} () > and say the fo

Re: [rules-users] Accessing globals after FireAllRules

2011-05-27 Thread Wolfgang Laun
Although not an expert on Flow, I can say that there can hardly be anything fundamentally wrong with this brief Flow, where a simpler solution might be equally possible. Much depends on other circumstances, e.g., possible future developments, deployment, workload,... -W On 27 May 2011 14:18, sdi

[rules-users] DSL Entry Question

2011-05-27 Thread jstroup
Hi, The 5.2 docs list the following example DSL entry [when][][Tt]here is an? {entity:\w+}=${entity!lc}: ${entity!ucfirst} () and say the following about what follows the equals sign "The remaining part of the line after the delimiting equal sign is the replacement text for any DSLR text matc

[rules-users] Releases: Drools (Expert, Fusion, Planner) 5.2.0.CR1, Guvnor 5.2.0.CR1 and jbpm 5.1.0.CR1

2011-05-27 Thread Geoffrey De Smet
Get them while they are hot. http://blog.athico.com/2011/05/releases-drools-expert-fusion-planner.html -- With kind regards, Geoffrey De Smet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-u

Re: [rules-users] Accessing globals after FireAllRules

2011-05-27 Thread sdinoo
Awesome! This worked Thank you very much Wolfgang!! Though, I have a architectural question My use case is in "claims processing" and here are the steps that need to happen 1) Recieve patients claim (prescription claim, like medicines) 2) Retrieve the patients Claim History (use patient ID in clai

Re: [rules-users] [Drools Flow 5.1] Updating a process definition -> Proceed updates running processes

2011-05-27 Thread Greg Stasica
hi, it's a long shot and by far should not be treated as something definite (i haven't checked the source code), but i suspect that you've just found another bug in JPA/persistence implementation. I agree with salaboy that once process has been updated only new proc

Re: [rules-users] [Drools Flow 5.1] persistence + spring + localTransaction

2011-05-27 Thread Greg Stasica
hi, sorry but i've never tried to use something else. My application uses spring so there was no other option for me. On 25/05/2011 20:16, anton.litvinenko wrote: > Greg, were you able to achieve process persistence in other configurations? > (e.g. without spring?) > > I don't use drools-spring

Re: [rules-users] Two version of hibernate in the same classpath, how to specify thecorrect version to be used in drools ?

2011-05-27 Thread Greg Stasica
hi, I'm not sure if its possible to achieve it as you might get e.g. missing method/missing class exception if you start mixing different versions of hibernate artifacts. I'm afraid that the only safe solution would be running your workflow process in its own JVM. Yo