Jarvis Pizzeria: Implement rules

When the order comes in, payment needs to be made first before we start preparing the pizza. Our order payment process supports three possible payment options:

  • Creditcard: obviously a commonly accepted payment option
  • Cash: although we are a very tech-savvy company we would also like our old-fashioned customers to be able to pay the pizza with cash money
  • Deferred payment: our most trusted customers can pay their order in a deferred way. Deferred payment means the customer receives an invoice per email and is asked to pay the order within two weeks.

The payment process is depicted below. The first activity in the process is concerned with determining which payment options are available. What component can we use to insert some facts, start reasoning about those facts and give us an answer based on those facts? Of course…Oracle’s own business rules!

Continue reading

Advertisements

SOA/BPM Suite 12c: Oracle Business Rules – Verbal Rules

In this blog post I will transform a Decision Table step-by-step into the new Verbal Rules. As a starting point I created a composite with a BPM, a BPEL and a Rules component. Both BPM and BPEL components use the same Rules component. See the following three screenshots. You can download the sample application with this starting point from here.
Continue reading

SOA/BPM Suite 12c: Oracle Business Rules – MS Excel Integration

In this blog post I will give a step-by-step example of the Excel integration for Business Rules. As a starting point I created a composite with a BPM, a BPEL and a Rules component. Both BPM and BPEL components use the same Rules component. See the following three screenshots. You can download the sample application with this starting point from here.

image1Composite View
image2
BPM Process
image3
BPEL Service

Open the sample application in JDeveloper 12c to follow the step-by-step example for a hands-on experience.

This blog is divided into the following four part:

  • Explore the sample Business Rule
  • Export the Business Rule to MS Excel
  • Edit the Business Rule in MS Excel
  • Import the Business Rule from MS Excel

Continue reading