Oracle Business Rules is a high performance lightweight business rules product that addresses the requirements for agility, business control, and transparency. It is part of the Fusion Middleware stack and integrates seamlessly across the entire Oracle SOA Suite and BPM Suite stack. It is also a core component for present and future Oracle Fusion Middleware and Fusion Applications products. Oracle Business Rules enables its customers to become more agile.
Scenario:
Sometimes, some of the non-technical people need to explain the requirement for the customer and show them the result to check if it is the customer’s expect result, so they can use business rules model to build the prototype quickly, it’s more agile and easy to understand.
Steps to create the business rule:
- Create an empty project in Jdeveloper, then in the business rules folder of empty project, New – >SOA tier->Service Components, choose Business Rules.
- Defined your input parameter and output parameter for the business rule, the parameter based on the message schema which they are ready already.
- Once business rules is created, you can set decision table or If/else in Rulesets, decision table is just like the graphic chart of If/Else so that non-technical people who don’t understand the programming also can handle this.
- You can create Rule condition and Rule Action in decision table or you coding them in the If/else. Once the input meets the rule condition, business rules will do the rule action which you defined.
- Compile the whole project and deploy it to the server. You also can change/add the rule condition or rule action in the run time, don’t need to compile the code and deploy to server every time.