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
2 answers

Drools check if one list contains all elements of another list

How to check whether list of facts contains the list of parameters or attributes present. We want a Rule where The Fact is List of Variables and the attributes which we are passing it is also list of variables. We want to check whether the the Facts…
Samyak
  • 81
  • 8
0
votes
0 answers

Drools/ Kogito Dynamic runtime flow/ process

I'm new to drools (I can consider Kogito as well) we have a requirements where the rules with orders are stored in a decision table and it should be executed based on the order given by the users the rules order could change at anytime. Please keep…
Kyle
  • 330
  • 1
  • 4
  • 13
0
votes
0 answers

Getting problem while comparing string in Drools XLS decision table

In cell B11 I am trying to compare my data with below column by using $1, but it is not working, the issue occurs only for String data I think. Can anyone give me right explanation/reason that why compare is not working? Instead, if I…
0
votes
0 answers

The Workbench Drools project does not work after closing or recompiling

I deploy the Drools workbench through a Docker container. And after deploying it and entering the interface through the browser, I configure the rules and processes. When generating a rule using the "Guided rule" option of the Drools Workbench we…
0
votes
0 answers

Drools - Send input data to business process (JBPM) via REST

Good day! I'm trying to start the next Drools Business Process via REST This process has the following process variable (named contractObject), which is populated at the beginning of the flow and used to validate with the decision table I'm…
0
votes
1 answer

What are the possible ways to debug when clause in Drools?

I know we can add breakpoints in the consequences of a rule, but how can we debug the when clause ? my rule is not verified i wanna know why. Please help
Hafsa Ch
  • 43
  • 9
0
votes
1 answer

Drools check if one property from list is present in other list

I have got followed structure: public class Proposal { private final List products; private final List customers; } public class Customer { private String id; private String country; } public class Product { …
Łukasz Woźniczka
  • 1,625
  • 3
  • 28
  • 51
0
votes
0 answers

Drools 7 - Timer Cron can't stop for loaded rules from DB

I'm using Drools 7 + Sprint boot + Hibernate JPA. I didn't use the drl file-system for my project. I generate the drool file at runtime using the java program and save it to my db. There after i will load into my drools as follow. Everything working…
0
votes
1 answer

Generate drools drl file by using java

I m trying to create the drools drl file using java programmatically by following method. I can able to create the below simple rules by simple rule by java program. rule "Demo_testing" when $employee : EmployeeModel( department contains…
Thilakar Raj
  • 37
  • 13
0
votes
2 answers

StatelessKnowledgeSession and Drools Flow

Is it possible to run a Drools Flow process from a StatelessKnowledgeSession? If so, how? It doesn't have the startProcess(id, params) method and seems to only implement rule functionality. I have a service whose method runs a process. So far, I've…
John Manak
  • 13,328
  • 29
  • 78
  • 119
0
votes
1 answer

Drools flow persistence - Named query not found: ProcessInstancesWaitingForEvent

I have a problem with drools flow persistence (MySQL), I get the following exception: 2011-04-15 14:38:27,244 INFO [STDOUT] (http-0.0.0.0-8000-5) Hibernate: insert into ProcessInstanceInfo (externalVariables, lastModificationDate, lastReadDate,…
GoofyHTS
  • 263
  • 1
  • 6
  • 15
0
votes
1 answer

Finding the most recent date in from all dates in Drools object

How can I find the most recent date among all joining dates in a Drools object? My rule is something like this: declare RecentDate dates : java.util.Date end rule "insert_dates" when //reading dates from back end …
Sunil
  • 101
  • 1
  • 10
0
votes
0 answers

Child business rule is not firing in JBPM integration with Drools

Let say I've parent and child workflow respectively p1 and c1. JBPM looks like this: P1---->[script node]--->[business rule]--->[service node]----->[reusable-subprocess calling c1] C1---->[script node]---->[business rule node]----->[script] Flow…
Madhu
  • 1
  • 2
0
votes
0 answers

how to dynamic call hibernate composite key in drools

I am using spring boot with JPA integrating hibernate ORM. In my rule file how to call parameters in multiple entity(used joins). Please help me. I am starter with drools. I have the below query : Select vec.memcode,vec.memName from Veclmem…
veer
  • 107
  • 2
  • 13
0
votes
1 answer

Timing learning Drools

I'm making a thesis on Drools. But I have no idea on the workloard learning Drools. Could someone give a number from 1 to 10 on Expert, Flow, Fusion and Guvnor. I just have to test the technique on a simple Java example. thanks, Els
Els
  • 1
1 2 3
8 9