Questions tagged [business-rules]

A business rule is a statement that describes a business policy or procedure. Business logic describes the sequence of operations that is associated with data in a database to carry out the rule.

A business rules engine works by separating execution code for business rules from the rest of the business process management system. This allows the end user to change business rules without having to ask a programmer for help. When a change is made, the engine will evaluate the change's effect on other rules in the system and flag the user if there is a conflict. Business Rules Model

497 questions
0
votes
1 answer

How should business rules be implemented in ETL?

I work on an product that imports data from a mainframe using SSIS via flat file. The SSIS packages use a stage database to transform flat file data and then call stored procedures in the ODS to load the transformed data. There is a potential plan…
kakridge
  • 2,153
  • 1
  • 17
  • 27
0
votes
1 answer

How do I filter the data source list based on property value defined in the rule if clause

How do I filter the source list based on property value defined in the rule if clause? for e.g, I bound the two properties with the data source list, 1st Property "Word" Bound with English Word/Arabic Word/Spanish Word. 2nd Property "Fee" Bound with…
0
votes
1 answer

Drools get object from map mvel cast exception

I am using jboss EAP 7.2 and Red Hat Decision Central 7.5.0 I have a custom objects like that public class Model{ private String id; private Map map; // ... getters and setters } public class ParameterModel{ private…
0
votes
0 answers

how to validate age and percentage of student in javascript?

I am using json-rule-engine . https://www.npmjs.com/package/json-rules-engine I am having a student list which have name , age and their percentage.Also I have business rule the percentage should be greater than or equal to than 70 and age should…
user944513
  • 12,247
  • 49
  • 168
  • 318
0
votes
1 answer

How would you structure Alpha Nodes in a Rete Network that has a rule with two conditions found in other rules?

Let's say I have three rules: When Object's foo property is 1, output "foo" When Object's bar property is 1, output "bar" When Object's foo property is 1 and bar property is 1, output "both foo and bar" What would the structure of alpha nodes look…
mrryanjohnston
  • 353
  • 2
  • 7
0
votes
1 answer

PBCS: Custom rules to aggregate Period members

I have an input account (never share) in which the user types a parameter for each month, I want that into aggregate members of Period dimension, for example on YearTotal, the value will be the weighted average between two other accounts…
Daniele
  • 1
  • 2
0
votes
1 answer

Codeeffects internal error on GetClientSettings() when using Source XML without persisting the source

I'm trying to use Source XML (I have CodeEffects 5.0.12 Nuget in a ASP.NET Core 2.2 Project) without a known type at design time. So I set persisted="false" and type="" in the SourceXml. Everything works great with fields, but if I define a…
0
votes
1 answer

CodeEffects rule editor throws an exception "No method with "[NULL]" value of the "token" attribute found" while saving the rule

I am using the CodeEffects rule editor to create an editor which has dynamic actions and properties. Since the requirements are dynamic i used the FlexSource type option provided by CodeEffects in their document. But when i tried to save the rule…
0
votes
0 answers

rule engine with database support and rule modification API

I am trying for opensource rule engine where I can store the rules in data bases (mongodb or sql) also few APIs where I can modify the HA. I came across these rules opensources but rule engine like drool can be stored in drl file or csv , so I need…
indra
  • 832
  • 4
  • 17
  • 33
0
votes
1 answer

django: ManyToMany: Updating and Insert Business rules

Note: New to django. Doing my with project with it. So I certainly lack many understand and the answer could be trivial. I have a ManyToMany relationship. I have trouble coming up with an analogy but on the "main" side we have a container which…
beginner_
  • 7,230
  • 18
  • 70
  • 127
0
votes
1 answer

Executing multiple regular expression rules through Spark for various fields

We use spark for our day to day activities. During the processing we want to extract geo information based on some regular expressions from the description column. We tried to find out the regular expressions through which we can extract CITY…
0
votes
1 answer

Advice on applying business rule contracts to entities in Entity Framework

With the help of a colleague we have come up with a way to apply business rules to an Entity. We are injecting the entity with a contract defining the rules. While this works great on its own, Entity Framework does not like it. Reason being is that…
DDiVita
  • 4,225
  • 5
  • 63
  • 117
0
votes
1 answer

Instancof not working in drools rule engine drl file

i am passing a list List list = new ArrayList<>(); to drools and the inner arraylist contains Objects of Class TaxPayer , and my rule is like rule "test1" when $l:TaxList($k : list) $b:ArrayList() from $k $a:Object() from…
Sunil Bhagat
  • 99
  • 10
0
votes
0 answers

Drools passing List of Different data types to drl file

I want to pass a list of different data object types to drools engine and be able to create rules by identifying the data object from that list. currently, I am only able to iterate list of the same data object type. it is as rule "test" when …
Sunil Bhagat
  • 99
  • 10
0
votes
1 answer

Question on CodeEffects Rule Engine capabilities: client connected to remote business-rules server/engine

I am working on a .NET Core project where a client needs to connect to a remote business-rule server/engine, fire all or specific rules and get back responses. Like "kieserveradapter" (https://github.com/tenkyu/KieServerAdapter) that connects and…
nbellsp
  • 11
  • 3