Defining the Rule: Decision Table
There are two ways you can define rules—either by using IF/THEN or by using Decision Tables. By using a Decision Table, you can create and use business rules in an easy-to-understand format that provides an alternative to the IF/THEN rule format, and it displays multiple related rules in a single spreadsheet-style view. In Rules Designer, a Decision Table presents a collection of related business rules with condition rows, rules, and actions, presented in a tabular form that is easy to understand.
You will use Decision Table for Check Customer rules and use if-then-else for DiscountCheck rules. For the Check Customer rule, you have following scenario :
- First case, if the input
Quote.customer type
isNew
andQuantity ...
Get Oracle BPM Suite 11g Developer's Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.