Re: [rules-users] Avoiding loops

2010-07-14 Thread Wolfgang Laun
Another option would be the addition of a single Trigger fact, inserted along with your regular facts, added as an additional pattern to all rules, and retracted in each RHS. You might also consider using Event processing to terminate the Engine's run after the first AfterActivationFiredEvent.

[rules-users] Drools Flow - Human Task

2010-07-14 Thread jawa
Hi, I am developing a drools flow application and at one point of the flow I want end user (User of my website) to reply to some questions one by one i.e. I'll show them a question on a web page and they'll answer it then next question etc. It has a flow sequence depending on the answers of

[rules-users] Rules integration with Java -need help

2010-07-14 Thread Dinesh kumar
Hi, Need help in integrating guvnor with my java application. I have the set rules to executed for a particular module as individual packages within guvnor. To fire these rules, I have separate properties file specifying the URL of each package and mention it within the application as below.

[rules-users] Help Needed in Drools Flow

2010-07-14 Thread santosh mukherjee
Hi, I want to add some of my own customized components to Drools Flow components pannel. How can this be done. Is there some API available to do so ?? Thanks Santosh Mukherjee ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Help Needed in Drools Flow

2010-07-14 Thread Chris Raschl
Am 14.07.2010 12:05, schrieb santosh mukherjee: Hi, I want to add some of my own customized components to Drools Flow components pannel. How can this be done. Is there some API available to do so ?? Hi, i guess you want to add domain specific work items to use them in the process designer

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread Swindells, Thomas
You can write your own custom work item handler which can handle performing all the necessary glue however you want that part of the system to work. The drools workflow docs provide details on how to go about doing this - plus I think you may be able to find some further tutorials and blog posts

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread santosh mukherjee
I want to write a custom work item that helps me to pass some of the data from the process to some other application through its interface. Will I be able to do that?? Thanks. Santosh Mukherjee. On Wed, Jul 14, 2010 at 5:22 PM, Swindells, Thomas tswinde...@nds.comwrote: You can write your own

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread Swindells, Thomas
Yes, a custom work item is just java code, it can do anything you do in java. From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of santosh mukherjee Sent: 14 July 2010 12:58 To: Rules Users List Subject: Re: [rules-users] Drools Flow - Human Task I

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread Mauricio Salatino
yes of course! 2010/7/14 santosh mukherjee sam.sensat...@gmail.com I want to write a custom work item that helps me to pass some of the data from the process to some other application through its interface. Will I be able to do that?? Thanks. Santosh Mukherjee. On Wed, Jul 14, 2010 at

[rules-users] package registry null / event wait node constraint

2010-07-14 Thread retoy
I'm getting a NullPointerException when trying to add a rule flow into my knowledgebase. It occurs on line 119 of org.drools.compiler.ProcessBuilder, because the pkgRegistry is null. 118:PackageRegistry pkgRegistry = this.packageBuilder.getPackageRegistry(process.getPackageName());

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread jawa
Hi, Thanks for your response but the problem is that I want flow to stop at that point while I ask question to customer and wait there until question is replied by customer. It can take hours/days for customer to come back. With custom work item I don't think I would be able to setup flow to

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread Swindells, Thomas
Your missing something - the human task handler is just a 'standard' custom work item handler, it doesn't do anything special that nobody elee can do. What you basically need to do is ensure that your flows are persisted, your work item handler doesn't complete immediately instead it

Re: [rules-users] Get authorized users rules only into application

2010-07-14 Thread Pavel Tavoda
But you don't need autorization details. packagename=username Pavel On Wed, Jul 14, 2010 at 6:44 AM, G3 charm...@gmail.com wrote: Hi Thanks for your reply. I guess I have to use separate guvnor with a single package for each user only. The webdav shows only the packages and snapshots not

Re: [rules-users] Rules integration with Java -need help

2010-07-14 Thread Pavel Tavoda
Just look to Properties documentation. You can set property from java too. Something like: Properties properties = new Properties(); properties.load(new FileInputStream(module2PropertiesFilePath)); properties.setProperty(url, http://MyURL...;) RuleAgent agent = RuleAgent.newRuleAgent(properties);

Re: [rules-users] Drools IDE and Eclipse Helios

2010-07-14 Thread Kris Verlaenen
There were some minor changes necessary to get everything working for Helios, but the latest version should just work. Kris Quoting Mark Kremer m...@without-brains.net: I tried it and I was unable to edit some of the preferences, after searching on Google for a bit I found that the bug is

Re: [rules-users] WorkItemNodeInstance and the on exit action

2010-07-14 Thread Kris Verlaenen
Chris, Yes, we can only assure you the work item exists between it is triggered and completed (or aborted). So if you want to access any data related to it in an on-exit action or any further part of the process, it's probably best to simply map that data to a process variable. This will make

Re: [rules-users] Debug as within Eclipse

2010-07-14 Thread Kris Verlaenen
There was an issue where an update in the core prevented the .drl to show up. This should be fixed now, if you try the latest snapshot build. Kris Quoting fsauer fsa...@dsthealthsolutions.com: Hi, I am running 5.1 M2 on Galileo as well and when I create a breakpoint it actually stops

Re: [rules-users] Drools Flow - Human Task

2010-07-14 Thread Mauricio Salatino
yes, and if you define the information that you want to handle in your use case, we can help you out to implement it. Greetings! On Wed, Jul 14, 2010 at 12:52 PM, Swindells, Thomas tswinde...@nds.comwrote: Your missing something - the human task handler is just a 'standard' custom work item