Testing the rules

You will deploy the process following the steps you followed in Chapter 3, Process Deployment and Testing, to deploy the process. You will be using following test case scenarios to test the process:

Test # 1 Values

Customer Type = New, Quantity = 100, Effective Discount = 40

   

Rule

Values (Action)

Expected

Output

Expectance Meet

Check Customer

ApprovalFlowType.customerType

true

  
 

ApprovalFlowType.newEffectiveDiscount

QuoteSummaryType.effectiveDiscount+15, that is, 55

  
 

ApprovalFlowType.NoOfTier3Levels

2

  
 

ApprovalFlowType.SelfApproved

false

  
 

ApprovalFlowType.tier1Approvalneeded

false

  
 

ApprovalFlowType.tier2Approvalneeded

true

  

Discount Check

businessAnalystRequired

true

  

Test ...

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.