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 swimlane, above the Is Business Analyst Review Required? gateway.
5. You will find the BusinessRuleTask Properties dialog.
6. Enter the Business Rule Task name as
DiscountCheck
.7. Click on the Implementation tab and click...