Defining the Rule: IF/THEN

You will now create another rule using the second method of defining rules named IF/THEN.

Using this rule you can check the following:

If EffectiveDiscount>Threashold value and CustomerType = Premium Then BusinessAnalystReview is not required

If EffectiveDiscount>Threashold value and CustomerType != Premium Then BusinessAnalystReview is required

The condition is an expression that can evaluate to true or false. The action sets the result data.

How to do it...

I. Creating a rules dictionary

  1. Start Oracle JDeveloper, select Default Role, and click OK.
  2. Go to Application Navigator | Project and click on the process SalesToContract.
  3. Go to Component Palette | BPM and click on Business Rule from Activities.
  4. Click in the BusinessAnalyst ...

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.