drools-flow

Can Drools Flow scale to executing hundreds of thousands of process instances per day?

I'm currently evaluating Drools Flow as a workflow engine for executing up to hundreds of thousands of process instances per day. Has anyone published any scalability benchmarks for this technology? In the absence of published results does anyone have any relevant experience they can share? ...

How to start multiple processes in Drools Flow?

I want to start mutliple Drools Flow processes, but this code blocks: ksession.startProcess( "com.sample.ruleflow" ); How can I do this? ...

Drools Flow Human Task example: How do I prevent 'Named query not found' exception being thrown?

I'm trying to follow the Drools Flow example code in the Human Task documentation and I have the following code: import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; import org.drools.task.service.TaskService; // ... EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.drools.task")...

Drools Flow - define deadline of human work item in declarative fashion

We are evaluating the drools flow with process and sub process flows. One of the features we are looking set up the deadlines for Human task during the assignment through declarative similar to JBPM <Timer duedate ="50 minutes" /> Please provide expert input on how to acheive the dead lines ...

Drools SubProcess out mapping failed - what am I doing wrong?

I created two "Hello World" processes to give the subProcess nodes a whirl. I'm having trouble getting output from the subProcess back to the main process. I'm hoping someone can enlighten me on what I'm doing wrong as I can't find any documentation or examples that shed light on why mine doesn't work. In my main process, I have the fol...

Is Drools SubFlow/SubProcess used much at all? Drools documentation lacking...

I'm trying to prototype a workflow using a rule flow and rules. I started testing subProcess because it's obviously useful to be able to call or reuse a subroutine. After much fiddling, I can't get out-mapping to work as expected (as well as I can manage from the lack of detailed documentations). So I started searching for more examples...

drools persistence with mysql, can't get process instance.

I'm stumped. I'm trying to implement persistence with Drools-flow, and I'd like to grab the value of a property on a workitem / processinstance, but everytime I try to get the workitem or process instance I end up with the stack trace below. I'm walking through the source and from what I can tell, this happens anytime I try and grab a ...

Download Drools RuleFlow files from Guvnor

Hello all, I can upload RuleFlow (.rf) files to Guvnor (both 5.1 M1 and 5.0) and execute them with rules on the server. If I want to use Guvnor as a repository, is there any way I can download the RuleFlow files into my project on the fly? On the package level, Guvnor provides some "Information and Important URLs" which only talk about...

How to retrieve fact objects from decision tables in Drools 4.x

Hello, Our team is using Drools ruleflows for evaluations. Now we are planning to migrate to decision tables instead. In the Drools ruleflow version, we used to have DRL files that have query component to extract objects created within the context of DRL files from working memory. I'm stuck on doing the same in Decision Table? We are...

Drools flow architecture, Drools flow events with AND join nodes

I have been evaluating a number of frameworks including jBPM and Drools flow for my application requirements. Lots of the opinions seem to be inclined towards Drools flow as its more flexible, knowledge oriented, easier to integrate with business rules, etc.. The application is some sort of an Email Campaign manager , where different cu...

Loading .brl rules into rulebase

Hi, I am using a dsl to create business rules (.brl rules). How can I load the .brl rules into my knowledge base? How can I convert from a .brl file to a .dslr file??? I am unable to find any help on this. Or is there a different way to load brl files?? Please help. Thank you FMa ...

How to manage roles and generate web-forms using Drools Flow?

Hi all I am creating a workflow(integrated into a Java web application) for a leave application approval. The workflow is as follows: Leave request is raised for an employee. Case 1: If employee's role is not team lead. The request is sent to employee's team lead. If team lead rejects, workflow ends. If team lead approves, request is ...

How can I continue a Drools Flow process when I receive a JMS Message?

I have a very simple flow, a JMS Message starts a process which receives a List of objects. A foreach iterates through this list and sends a JMS Message to component to process the object in the list. This component needs to send a completion notification back to the flow process so it can carry on. Does anyone have any idea of how this ...

Keeping track of multiple Drools Flows

We're using Drools to manage the state of orders that we place with a 3rd party, there can be many orders at once obviously and I was wondering what the best way of keeping track of them is? We have various events through the lifecycle of the order and the flow waits at each one for a flow event to trigger it into the next state. Curre...

Best practices for using Drools Expert/Flow in a Web Application

Hi I'm currently teaching myself Drools Expert/Flow as well as GWT. I want to use Drools Flow as an event/command bus and business rule engine to achieve loose coupling between different parts of the application. So far I've gotten both Expert and Flow working from my test cases, but I have a hard time figuring how to best implement Fl...

Drools testing with junit

Hi What is the best practice to test drools rules with junit? Until now we used junit with dbunit to test rules. We had sample data that was put to hsqldb. We had couple of rule packages and by the end of the project it is very hard to make a good test input to test certain rules and not fire others. So the exact question is that how ...