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

BizTalk Dynamic Disassembler Problems - The body part is NULL

I started with the solution here http://social.technet.microsoft.com/wiki/contents/articles/20547.biztalk-server-dynamic-schema-resolver-real-scenario.aspx which matches my scenario perfectly except for the send port, but that isn't necessary. I…
0
votes
1 answer

Calculating Saturday and Sunday Business Date when Friday or Monday are a Holiday

I am working on a calendar generator in MS SQL 2008 and need to generate the correct business day for each day in the month. Everything is working with this exception: If Friday or Monday are a Holiday, then I get an erroneous value for the…
Mike Marshall
  • 341
  • 4
  • 6
  • 19
0
votes
1 answer

How can I tell which rules in a BRE Policy failed?

I am following a sample program from CodeProject that gives some examples of using the BizTalk BRE to test some rules. I completed the sample just fine and am in the process of creating a WCF service to allow users to test an object from a remote…
SpaceCowboy74
  • 1,367
  • 1
  • 23
  • 46
0
votes
2 answers

Finding negative numbers in a field in ILog

I have a following requirement in Ilog Jrules, Having an Integer field that contains both positive and negative numbers. Requirement is to loop through the Integer field, find and remove the negative sign in the negative numbers. It sounds simple…
Techie
  • 71
  • 1
  • 11
0
votes
2 answers

How to set custom property to business rules in (ILOG) IBM ODM

I have a requirement to set a new property (example: unique ID) to each and every rule and access it from action part of the respective rules during the execution. For example: If the age of person is more than 18 then set the output to…
user2968583
  • 3
  • 1
  • 6
0
votes
1 answer

Where can I get large number of rules and facts or how can I generate them for Drools benchmark?

I would like to test Drools performance, such as memory consupmtion and inferencing speed for large amount of data. I did it through running benchmarks that are available on drools projects https://github.com/droolsjbpm/drools just as other example…
gadon
  • 253
  • 2
  • 7
  • 16
0
votes
1 answer

what happens in rete algorithm when there are multiple "then"

Using this as an example, let's say that there is a condition which says- if the flyer's status is silver, then allow free upgrade to business class **and** give a free drink how should rete network be constructed? At the bottom of the network,…
user375868
  • 1,288
  • 4
  • 21
  • 45
0
votes
0 answers

Implement Business Rules/Alerts

I have a high-level architecture question. I am building an MVC application that needs to do the following related tasks: Send alerts when certain criteria are met implement business rules on incoming data For example, a user may input a task…
tmoore82
  • 1,857
  • 1
  • 27
  • 48
0
votes
1 answer

Drools - Multiple matches in then clause

I am creating a rule which needs to fire when one or more conditions are met. The rule looks as follows: rule "Demo Rule" when $data : Data (val == 1 || val == 2) then System.out.println($data); end I have a test for the…
user2093082
  • 407
  • 8
  • 19
0
votes
1 answer

Minimum of Two variables in a drools Rule

I want to find out the minimum of two variables in the LHS (Left Hand Side) of a drools rule. For example: $variable1 : // Some value generation lines $variable2 : // Some value generation lines // This doesn't work $minimumOfVariable1And2 :…
0
votes
1 answer

How can I create a business rule where a Textbox only requires a decimal?

Basically, I have a text box that needs only decimal entries, but a validation rule that only allow decimals inside this text box. Here is the code I have, but it does not do what I want: #Region " RULE: Decimal Value Required Rule " Public…
redoc01
  • 2,107
  • 5
  • 32
  • 64
0
votes
1 answer

Writing my first Dynamic Business Rule

I've been working with Endeca at arms length for three years. Now I need to write my first dynamic business Rule. I have records with a property, say "ActiveField", as a business Rule I need to take the value of "ActiveField" and return the records…
zeristor
  • 429
  • 6
  • 22
0
votes
1 answer

How to create a "true" contract first WS with wso2brs

We would like to create a contract first ws with wso2brs based on a certain xsd. The object model of the ws generated by the wso2brs must stay conform to this xsd. The strategy we've tried so far is generating java libraries based on the xsd, and…
0
votes
3 answers

Allocated Cost Calculation in Oracle PL SQL Query [logical]

I am stuck with a logical problem in my application. I have been trying to find the allocated cost based on their Customers ID using SQL. My problem goes like this: In first table(Table1) I have BusinessUnit, ProductFamily,Cost in the other(Table2)…
Subhamoy
  • 116
  • 5
  • 21
0
votes
1 answer

Using multiple "matches" statements in Drools-Guvnor

I am creating rules through the drools-guvnor. I have imported my POJO model and everything is set up correctly (I have done tests) but I cant seems to figure out how to get the "matches" operator working correctly. This is what I have so far(source…
DeanMWake
  • 893
  • 3
  • 19
  • 38