My Oracle Support Banner

Validate Method of Data Validation Manager BS Does Not Aggregate Error Messages Across Multiple Rule Sets (Doc ID 2860533.1)

Last updated on APRIL 11, 2022

Applies to:

Siebel CRM - Version 21.1 and later
Information in this document applies to any platform.

Symptoms

When invoking Validate method of the 'Data Validation Manager' business service for a group of rule sets, if one of the Rule Sets from that group throws an error (has at least one rule that is evaluated false) it stops and aggregates only the error messages from that rule set.

Requirement was to display all the messages for all rule sets of the group into a single pop-up message. 

Issue was tested and reproduced in 21.8 and 22.1 version using the following steps:

1. Navigate to Administration -Data Validation -> Rule sets and create one rule set as follows:
 
   Name = Quote_RS1  
   Group= Quote_gr
   Business Object = Busines Component = Quote
   Aggregate errors =  True
 
 
   1.a. Drill down on the rule set and create a rule for the rule set as follows
        Name=Rule11
        Business component= Quote  
        Stop On error = FALSE
        Immediate Display = FALSE
        Expression  1=2
        Open the Return Code and select record with Message code=101 and Message level=Quote => this will select message "Tax amount is not null for exemption"

    1.b Create another rule

        Name=Rule12
        Business component= Quote   
        Stop On error = FALSE
        Immediate Display = FALSE
        Expression  1=2
        Open the Return Code and select record with Message code=102 and Message level=Quote => this will select message "Tax amount is null."

2. Similar, add another 2 rule sets each having 2 rules:

Quote_RS2
      - Rule21   - message code 103 and message "Invalid Credit Card Number for American Express."
      - Rule22   - message code 104 with message "Invalid Credit Card Number for Visa"

Quote_RS23
      - Rule31   -message code 105 and message "Invalid Credit Card Number for MasterCard."
      - Rule32   -message code 106 and message "Invalid Credit Card Number for Discover."

3. Activate all rule sets after finishing.

4. Create a quote in Quotes screen and note its row_id
 
5. Create a workflow process ( Name='AAA DMV TEST') that invokes Validate method of the Data Validation Manager BS,  with the inputs:

- Active Object = Y
- Enable Log = Y
- Group = Quote_gr
 
10. Select workflow properties and for the ObjectId set 'Default string' to the row id of the quote created in step 4

11. Deliver the workspace with the workflow to MAIN workspace.

12. Login to the application and execute the workflow from Administration Busines service - Simulator providing as input:

Process Name = AAA DMV TEST

13. Check the output: it contains only the error messages from the two rules  of the "Quote_RS1" rule set.
It was expected that output will contain also the rules messages of rule sets  Quote_RS2 and  Quote_RS3,  as all the rule expressions are evaluated to FALSE.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.