jBPM5 is business process management workflow application. It is the latest version of the jBPM project. It is based on the BPMN 2.0 specification and supports the entire life cycle of the business process (from authoring through execution to monitoring and management).
Questions tagged [drools-flow]
124 questions
12
votes
5 answers
Drools testing with junit
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…

Hubidubi
- 850
- 4
- 18
- 34
10
votes
3 answers
Decision trees and rule engines (Drools)
In the application that I'm working on right now, I need to periodically check eligibility of tens of thousands of objects for some kind of a service. The decision diagram itself is in the following form, just way larger:
In each of the end nodes…

John Manak
- 13,328
- 29
- 78
- 119
9
votes
1 answer
Best practices for using Drools Expert/Flow in a Web Application
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…

Magnus
- 3,691
- 5
- 27
- 35
4
votes
2 answers
Drools DSL - How to use parenthesis in rules
Drools version: 6.3.0.Final
Pojo:
public class Person {
private Integer age;
private Integer childrens;
private String name;
private String address;
(...)
}
DSL file:
[condition][]and=&&
[condition][]or=||
[condition][]is less…

Leonel
- 2,796
- 5
- 25
- 36
4
votes
1 answer
Best way to replace Drools Rules
I have a system where 'dynamic logic' is implemented as Drools Rules, using Rules engine.
For each client implementation, custom pricing and tax calculation logic is implementted using the drl files for that specific implementation.
rule…

openSource
- 191
- 2
- 6
3
votes
2 answers
Help Drools integration with Scala
I am new with Drools. I am integrating Drools with Scala. I am trying the project given at http://www.gettingcirrius.com/2010/12/using-jboss-rules-drools-in-scala.html.
I have made a small change in the code to supply the Drools rule file as given…

Puneet Jain
- 219
- 2
- 7
3
votes
1 answer
How to define constant in jboss drools?
All
I want to know that how to define contant variable in jboss drools rule.
So, Admin has to change only one place to modify the configurable value.
Thanks.

MohammedYakub M.
- 2,893
- 5
- 31
- 42
2
votes
1 answer
Accessing the process instance from Rule Tasks in JBPM 5
The short version: How do I get JBPM5 Rule Nodes to use a DRL file which reads and updates process variables?
The long version:
I have a process definition, being run under JBPM5. The start of this process looks something like this:
[Start] --->…

Erica
- 2,251
- 16
- 21
2
votes
1 answer
How to deploy Drools Flow and rules by my web application
I've just now started my new project. My project manager said that Drools is the new technology and we will include drools flow and rules and will integrate our web application with it.
How does one integrate Drools flows and rules to within a…

user426936
- 35
- 1
- 4
2
votes
2 answers
Drools 6.1.0.Final CEP Example: Unable to create Field Extractor
I'm experiencing an odd error while trying to convert a a CEP example from Drools 5X to 6X: - Drool 6.1.0.Final to be precise.
The source of my inspiration for this little project can be found at the following link:=> PlugTree.
The error I get…

ProfVersaggi
- 886
- 13
- 18
2
votes
2 answers
Single Thread execution in DROOLS?
My application handles multiple request but the rules in my knowledge session are executed by single thread only.
For eg:
Thread 1 and Thread 2 enters the knowledge session with the gap of 2millisec
But Thread 1 executes its own rules and even the…

Rohan
- 71
- 2
- 13
2
votes
0 answers
Viewing rule-flow files in drools-guvnor
I'm working on a project that involves creating work-flows, in Drools flow.
I have a lot of rule flow (rf) files, that I want to be available for viewing through a web UI.
I've seen that drools-guvnor allows management of rf files. But it seems…

Rohan Gupta
- 31
- 4
1
vote
1 answer
Does activiti allow users to define domain-specific extensions like jBPM?
jBPM allows users to extend the default process constructs with domain-specific extensions as specified in their user guide here. Does anybody know if Activiti supports this?

Aravind Yarram
- 78,777
- 46
- 231
- 327
1
vote
1 answer
Only a type can be imported. models.XYZ resolves to a package
I have been trying to resolve the problem for the past 1 day but i could not able to resolve.
Iam triggering drools (rules) from the play models.It is working perfectly fine in my local environment.
But when iam deploying the same application on…

Rama Vadakattu
- 1,266
- 2
- 16
- 24
1
vote
0 answers
How to design an template in Drools in order to pass list and map as an argument to generate the rules dynamically?
I have a list and an map in json format and before passing the those to template in order to generate the rules I convert them into the java and then compile them using the ObjectDataCompiler in order to generate the rules.
JSON
{
"tags": [
…

Harsha
- 86
- 5