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

Drools Regex to Match Non-Alpha

According to the Drools Documentation, I should be able to match the following regex in a rule, since the matches operator "Matches a field against any valid Java Regular Expression." However, $firstName : String(value matches "[^A-Za-z]") from…
josh-cain
  • 4,997
  • 7
  • 35
  • 55
0
votes
1 answer

Pass a local variable to CodeMethodInvokeExpression in workflow foundation

I have a rule validator using workflow foundation.When my rule fails, i need to invoke a HandleError function with a local Error class object .But i can't find a way to pass this object. It is working fine when i declare the Error class as a public…
Prasanth V J
  • 1,126
  • 14
  • 32
0
votes
1 answer

How can I support rule definition from a user for my business logic processing?

I have a case where I have an existing method that does a specific kind of processing. I have setup a database table that it checks and if a specific value in a column exists it uses the value in one of the columns. Example: let's say that I have a…
Jim
  • 18,826
  • 34
  • 135
  • 254
0
votes
2 answers

Best practice for buttons whose display depend on business rules

I am building a web page for a business application. The page displays the information of a project. There are several buttons whose display depend on the data of the project, let's say it depends on codeC. I am wondering what is recommended to…
Adrien Gorrell
  • 1,291
  • 3
  • 14
  • 28
0
votes
1 answer

Biztalk BRE not evaluating condition correctly

I am implementing a simple BRE example from Biztalk Certification Guide. My policy is composed as follows: Seems easy. But then I am trying to test my policy with XML that has LoanAmount = 20. And BRE tells me, that 20<100 = false: Test Expression:…
Arsen Magomedov
  • 480
  • 8
  • 21
0
votes
1 answer

CRM 2013 Business Rule export option?

Is it possible to export/import business rules written in CRM 2013? I am doing crm migration and adding some new validation rules using business rules feature , instead of javascript.But not getting any support to export these business rules and…
Tauheed yar khan
  • 77
  • 1
  • 1
  • 10
0
votes
1 answer

Using Reflection to fill a GUI for rule creation

I want to create a GUI application (MVC asp web application) to create business rules that can be used for my business rules engine. For this I have several objects (Request Objects) with various variables that can be used to create these rules.…
Leonard
  • 47
  • 8
0
votes
2 answers

Process BizTalk Message in .net Fact Assembly

We would like to handle an entire BizTalk message (preferably in the form of an XLANGMessage) through a custom method (.net) that is exposed as a BRE Fact per this article. Is it possible to define the data being passed to a particular BRE fact as…
Jordan Foreman
  • 3,848
  • 7
  • 40
  • 65
0
votes
0 answers

Decision Table with a condition on a set containing values coming from lists

Using Drools 6.0.1 I would like to set a CONDITION (on a column of a Decision Table) similar to the following one: ProductDrools(productCategories contains $param) (that then would go in every rule after a when in a drl file) where…
TPPZ
  • 4,447
  • 10
  • 61
  • 106
0
votes
1 answer

How to retrieve fact objects from decision tables in Drools 4.x

Our team is using Drools ruleflows for evaluations. Now we are planning to migrate to decision tables instead. In the Drools ruleflow version, we used to have DRL files that have query component to extract objects created within the context of DRL…
Maddy
  • 389
  • 4
  • 6
0
votes
0 answers

Loosely coupled rules in WF (or another .Net Rules Engine)

I have been reading up on Windows WF and how to create and execute rules outside of Workflows. However all the examples seem to require a defined class in which to bind the rules to properties. We have a scenario where an arbitrary list of…
CodeGrue
  • 5,865
  • 6
  • 44
  • 62
0
votes
2 answers

BizTalk Business Rules Check on node existance and value

I have the following problem. I want to execute a policy that checks for existance of a node and after that it should check if the value is greater than 0. So lets say we have "xmlDoc" and I want to check if the node "test" exists and if the value…
0
votes
1 answer

Which major Java-based business rule engines have compatible rule languages?

I am aware of several widely used business rules systems implemented in Java (e.g., Jess, ODM/JRules, Drools) and several proposed standards for representing business rules (e.g., Production Rule Representation (PRR), Rule Interchange Format (RIF)).…
kc2001
  • 5,008
  • 4
  • 51
  • 92
0
votes
1 answer

SOA SUITE 11g - Business Rules - Compare Dates/DateTime

Good morning. I have a problem with using business rules to Compare Dates. I want to compare an input date vs current date. The input message ( in this case the date that i want to compare) is a structure fieldname/fieldvalue. ->Example of the…
Ricardo
  • 612
  • 2
  • 9
  • 16
0
votes
1 answer

Drools Rule structure

Hi i am new to Drools fusion and I have been developing some sample rules to understand working of drools fusion. I need some help in understanding drools My rule: rule "Sample Rule" when $t:Test (num == 10) from entry-point Stream …
Sachin Verma
  • 3,712
  • 10
  • 41
  • 74