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 rule fire only for inserted event

I have a multiple uses with each a sensor that sends pedometer data. I have a rule file that based on the macAddress, fires the rule: declare Steps @role(event) end declare User @role(fact) end rule "MAC" when User( $mac: macAddress )…
Tim
  • 445
  • 5
  • 19
0
votes
0 answers

Implement a for each loop in drools

I want to implement a loop that will check every object in the list "then" return a boolean value. function boolean anyActiveUsers(Application app, String params){ if(app.getApplicantType().toString() == params) { for ( User user:…
SpongebobJunior
  • 601
  • 1
  • 9
  • 24
0
votes
1 answer

Drools won't reload rules after KnowledgeBuilder errors

I am using KnowledgeAgent and change-set.xml to keep track of any changes to rules in run-time. With standard configuration from JBoss docs it generally works fine. I have also set knowledgeAgentConfiguration.setProperty("drools.agent.newInstance",…
Purple
  • 711
  • 2
  • 10
  • 19
0
votes
2 answers

java.lang.NoClassDefFoundError: Could not initialize class org.drools.compiler.kie.builder.impl.KieRepositoryImpl

I have built my drools application using drools 6.2.0 .While running the application using Tomcat server(7.0) I am getting the following error: SEVERE: The exception contained within MappableContainerException could not be mapped to a response,…
Pyntamil Selvi
  • 161
  • 1
  • 6
  • 17
0
votes
1 answer

Errors while installing Drools Workbench 6.2.0 using tomcat

I am new to Drools.I am trying to install Drools workbench 6.2.0 in Tomcatserver.I follwed the instructions given in the readme.txt.I have follwed all the steps mentiondBut when I start my Tomcat server,I am getting the following exception. …
Pyntamil Selvi
  • 161
  • 1
  • 6
  • 17
0
votes
0 answers

how to Add an int value into array list in drools

I am new to drools.I am using 5.6.0 version of drools. I want to add an int value into an ArrayList when the variable satisfies some condition. package com.sample import com.sample.PojoDRLListIteration; import java.util.ArrayList; import…
Pyntamil Selvi
  • 161
  • 1
  • 6
  • 17
0
votes
1 answer

How to restart the process based on condition in jbpm?

iam facing issue in jbpm as iam new to the jbpm. i need to re-start the process or need to jump back to the previous process. can you any one please suggest how to do it my flow is before saving, based on condition , i need to repocess the flow…
Ramesh
  • 340
  • 1
  • 7
  • 21
0
votes
1 answer

Loading .brl rules into rulebase

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…
0
votes
1 answer

Check whether the sum in a list is greater than 100

I have to write a drool function on a list which has to do the following thing create a summation check whether the summation is greater than 100. below is the drool rule I have created rule "001" when $charge :…
0
votes
1 answer

facing issue to iterate list in drools

facing problem with List iteration in drools GoodsShipment has the list of GoodsItems and GoodsItem has the list of Documents my requirement is, need to check atleast one document is available or no. iam tried this but failed writen a class to…
Ramesh
  • 340
  • 1
  • 7
  • 21
0
votes
1 answer

Task form complete in jbpm 5.4(edited)

I am developing an application using jbpm 5.4. I have deployed my workflow in drools-guvnor.I have added variable definitions as follows task1_lname_out, task1_fname_out Then i have mapped DataInputSet and DataOutputSet for Task1.In Task1 , I have…
Ampm
  • 27
  • 1
  • 7
0
votes
0 answers

Stop Rules on update facts drools

I have a scenario in Drools. I have some set of rules. For Example : In Rule 1: I am setting ProductName in the fact pojo that comes from session after some condition. In Rule 2: I am calculating grade value i.e. X1,X2,X3,X4. So for each grade I…
Kumar
  • 955
  • 5
  • 20
  • 50
0
votes
1 answer

Comparing Object (facts) in working memory in drools

I am reading an excel sheet through DRT (rule template) and then converting it in to Object of a class through a static method in Java class. and also inserting it in to working memroty. In this way, working memory is filled up with all the facts…
Kumar
  • 955
  • 5
  • 20
  • 50
0
votes
0 answers

Error while calling a function with return type Map in Drools

I have used a function with a return type as map in Drools . While validating it using validate button in the Guvnor it gives me error The sample code similar to my code is given below function Map MyRule(String…
Naveen Raj
  • 801
  • 11
  • 26
0
votes
1 answer

What is Drools ? How Drools,Guvnor,Expert ,jBPM,Drools Fusion and optaPlanner all relate to?

I am completely new to Drools although I have written very small rules and deployed in Guvnor. All that I have done is write series of if and else statements and deployed in the Guvnor. I am wondering what is the use of this product? Why there are…
Naveen Raj
  • 801
  • 11
  • 26
1 2 3
8 9