Questions tagged [drools-flow]

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).

124 questions
0
votes
1 answer

Drools decision table create object

I want to convert the below rule to decision table, when customer:Customer(purchase > 1000) person:Person() then person.markValuableCustomer(customer.id); end I tried to convert this to decision table but I am not sure how to declare the…
Lolly
  • 34,250
  • 42
  • 115
  • 150
0
votes
1 answer

some rules are misbehaving in 1 of the 2 drools server

I do not know, what is the exact problem, so explaining the scenario here: I have 2 drools server in my production setup, and with the campaign changes, deployment of new rules happen so frequently, almost 5-7 times a day,and it happens dynamically,…
grvyard
  • 23
  • 1
  • 6
0
votes
1 answer

How can I make the rule engine always choose the rule with higher Salience?

I´m using Salience to make the priority of each rule, but when I fireAllRules, it doesn't always choose the rule with higher Salience. How can I make the rule engine always choose the rule with higher Salience? Output [10, 10, 10, 10, 10, 10, 10,…
0
votes
1 answer

What are the uses of 'package' keyword in DROOLS?

In my scenario, we have multiple rule files and we ensure with proper naming convention that every rule name is different, even if they are in different folders, files. We use a common package name in all the drl files. Now even if I remove the…
Hitesh Garg
  • 1,211
  • 1
  • 10
  • 21
0
votes
1 answer

Drools: How to compare attributes of two different objects in drools?

I am using drools for business level validations. Is it possible to load two objects in working memory and compare their values? Lets say i have 2 objects: Object1{ String name; } Object2{ String sname; } Can I compare name(Object1) with…
0
votes
1 answer

How to maintain Drools global counter for facts and apply rules based on its value

I am new to Drools and working on a requirement where I will get batch of facts ( BankAccount information ) . I have to give alert message when three consecutive Minor Accounts ( age<16) inserted in session working memory. I have tried maintaining…
Kiran
  • 921
  • 1
  • 11
  • 23
0
votes
1 answer

Can we read data from properties in drool

I have written below part in my drool file. I am not getting any compilation error, but it's not executing at run time. can we read data from properties file in the drool or do we have any alternative for reading data from config file. can you…
0
votes
2 answers

Creating multiple KieBase and creating the kmodule programmatically in drools

I have in drools multiple packages for rules, each package contain different rules and I added all of the packages' rules to the kmodule.xml file, and once I run one of my bpmns (each package of rules has a different bpmn and ruleflow-grouo) all the…
arielb
  • 11
  • 1
0
votes
1 answer

Drools working concurrency drools 5.5.0

How to use drools in an environment where multiple users are working or accessing rules for the same operation. Considering a drl which contains 5 rules and now these rules are being accessed by multiple users. This is obvious that rules will be…
0
votes
1 answer

Drools Flow: Try to implement looping concept using Drools Flow

I need to implement looping concept using drools flow. Actually we are migrating ILog Jrule to Drools. In Existing solution, we have a flow which contain looping. Kindly find same in attached image, it is in Jrule implementation. we need to convert…
Viral
  • 189
  • 1
  • 14
0
votes
1 answer

how to use array of string as condition in Drools decision table?

I am new to drools decision table, so my question may be invalid. In my decision table i am using "in" in condition column. Exampe : i have class Student and there is another class UniversityConstant. In UniversityConstant class there is array of…
Hitesh
  • 375
  • 6
  • 17
0
votes
0 answers

I am not able to use XLS file in drools 6.3.0

I have created a XLSX file, And uploaded it, But am not able to see that xlsx converted decision table. I have uploaded the xlsx file also. But not able to see the converted table. Can anyone please suggest me what I am missing here.
0
votes
1 answer

invoke rest service from drools

I am new to drools, and have a scenario, where I need to invoke a mule flow from drools. I have defined mule flows as below and want to invoke one of the flow based on some condition.
Saurabh Jhunjhunwala
  • 2,832
  • 3
  • 29
  • 57
0
votes
0 answers

How can I customize Guided decision table for adding a new window using drools 6.3.0

I am a newbie to drools 6.3.0, as per our project requirement I need to customize the Guided decision table. I want to add a new window there where elements can be imported from a file and I want to drag and drop these elements on decision table…
0
votes
1 answer

How to Import or Export Rules into KIE workbench?

Is it possible to import or export the rules into KIE workbench? I am working on Drools using KIE workbench.
Sameer Ahmed
  • 1
  • 1
  • 2
1 2 3
8 9