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

How to develop rule engine with python (business-rules library) and how run_all() function is working?

for product in Product_info: run_all(rule_list=rule, defined_variables=ProductVariables(product), defined_actions=ProductActions(product), stop_on_first_trigger=True ) How run_all() function is…
0
votes
1 answer

What are the top five challenges when implementing an Enterprise level Rule Engine?

I have compiled the list as per my knowledge but would like to enrich & prioritize it using this community inputs. I understand having a centralized rule repository itself is debatable but we can have separate question for it. Business user…
Manish Singh
  • 3,463
  • 22
  • 21
0
votes
1 answer

How to access Method Names from source object in Rule Definition

In our implementation of the Rules Engine we have a test form similar to Rule Test Form on the online demo on "Business Rules Engine Demo". What we would like to do is conditionally show only the Test Fields for the items in use in the rule. We…
0
votes
1 answer

rules task written on mvel not building and throwing java compilation error

I have this rules task written on mvel dialect, the globalorder variable is defined on my business process and specified on the TaskData I/O section. For the onEntry section I wrote, on MVEL dialect: package com.myspace.ordersdemo; import…
0
votes
1 answer

CSLA: Is it possible to BusinessRule.Add() for every Property that is of a specific Type, without having to add it manually for every property?

I have created a rule for checking if a DateTime is valid. I want to add this as a BusinesRule for every single DateTime Property to checks if the user input entered is valid and else give a warning. Now I would have to add in every class the…
user3261212
  • 391
  • 2
  • 15
0
votes
0 answers

Load Drools Guided Decision Table to Java List/Map

Hi I was wondering if there is a way to load all the content of the guided decision table to java collection (list/map)? I achieved this by making each rule(row) calling a java method where I add this to a hashmap but performance-wise is really bad…
Kyle
  • 330
  • 1
  • 4
  • 13
0
votes
1 answer

Our requirement is to fetch the data for code effects editor to be fetched from database using dotnetcore 3.0 and VueJs 2.0

We want to integrate code effects library in our project,We need the sample code for Vue.js 2.0 using typescipt and dotnet core 3.0. Our requirement is to fetch the data for code effects editor to be fetched from database. We noticed that the…
0
votes
1 answer

Python Defining Business days and working hours

I am looking for guidance on how to create a variable (Business_Time) which contains only business days (not weekends) and where i can set working hours (9am - 6pm GMT). The reason for this is because i'm trying to calculate some SLA's (how long…
0
votes
1 answer

How to not store responses in stateful session in Drools, but keep the global variables

Hope you can help me on this since I’m new on drools. Currently I’m working with a stateful session deployed in Kie server, my problem here is that I don’t want to store all the responses from facts and just keep the value of the global variables,…
Jairo
  • 1
  • 1
0
votes
1 answer

calculate business days using IBM ODM

I have a requirement where the start date, time period and geography location will be passed on from the frontend to IBM ODM. IBM ODM then based on the geographical location, calculates the next date based on the time period and the holidays/working…
newTask
  • 87
  • 1
  • 2
  • 8
0
votes
1 answer

How to decouple process in business layer

I am facing a problem that, for some business processes the sequence of invoking business objects and methods may change frequently. So I came up with something similar to the below:(Sorry somehow I can't post image..., I tried to express them in…
Lepton
  • 37
  • 1
  • 4
0
votes
1 answer

Decimals are not recognized as numeric values in CodeEffects RuleEditor

When running a local version of the CodeEffects rule editor I get an error message when I try to enter a decimal in the condition. In the angular example project I have updated the type of the pulse property to decimal? and why I try to enter a…
LAN
  • 55
  • 1
  • 9
0
votes
1 answer

CodeEffects RuleEditor doesn't display enum values if they are stored in a list

I have updated the code effects angular code example with a property on Patient that contains a list of enums [Field(DisplayName = "Favorite food", Description = "The patient's favorite food")] public List FavoriteFood { get; set;…
LAN
  • 55
  • 1
  • 9
0
votes
1 answer

CodeEffects RuleSets: which rules were applied?

I have 250 Execution rules. Today, I evaluate them 1 at a time in a loop in order. The first one that evaluates true stops the loop. I save off the result and which rule was used. I would like to use a ruleset for performance reasons. Is there a…
itsallyours
  • 168
  • 7
0
votes
0 answers

Advice required for implementing complex business logic

So I've got some complex business logic that is backing an ASP.NET Core API, that is starting to get unwieldly due to the size and I was hoping I could get some advice on better approaches. An example request might have a route of…