business rule service A also called a business rule service component supports

Business rule service a also called a business rule

This preview shows page 312 - 319 out of 501 pages.

business rule service A , also called a business rule service component , supports the use of Oracle Business Rules in a SOA composite application. In a composite application, d i i t b d decision components can be used: Within a SOA composite and wired to a BPEL component. Within a SOA composite and used directly to run business Within a SOA composite and used directly to run business rules. With the dynamic routing capability of Oracle Mediator Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 10 - 5
Image of page 312
Using Business Rules in a Composite Application Business rules can be used in various ways in composite applications: Dynamic processing R l f ti ithi th b i b d Rules can perform routing within the business process based on service-level agreements or other guidelines. Externalize business rules in the process Many conditions must be evaluated in a business process. The parameters to these conditions can be changed independently of the process independently of the process. Data validation and constraint checks Validate input documents or apply constraints on requests. Validate input documents or apply constraints on requests. Human task routing Policy-based task assignments to specific roles or users Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 10 - 6 Load balancing of tasks among users
Image of page 313
Declarative Rules IF < condition > THEN < action > One or more business One or more terms are tested actions are taken. terms are tested. If customer is a Premium customer , THEN apply a 10% discount . Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 10 - 8
Image of page 314
Facts If customer is a Premium customer , THEN discount=10% . Working Memory Customer.status Facts are discrete pieces of data Facts are discrete Discount.amount that constitute the input and output values for the business rule business rule. When a fact is put forth in memory, it is said to be asserted. Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 10 - 9
Image of page 315
Decision Tables A Decision Table provides a A Decision Table provides a compact representation of all possible if/then permutations. Decision Table R1 R2 R3 CONDITION If shipChoice two_day five_day next_day or international ACTION RedShipper GreenShipper BlueShipper Assert carrier Copyright © 2011, Oracle and/or its affiliates. All rights reserved. 10 - 10
Image of page 316