Error appears in the Flattening Process Summary as a mismatch: Expected <> Actual records but are still Flattened
We are using PCS Pega Foundation for Healthcare 24.2 (pega_foundation_for_healthcare_24_2_2024-11-12).
While processing plans, we encounter an error in PegaPCS-Data-Plan FetchFlattenedRecordsStatus, which validates flattened records. The error appears in the Flattening Process Summary as a mismatch: Expected <> Actual records.
These records are being auto-flattened and saved to D_SaveFlattenedRecord in PegaHC-Data-FlattenedStructure.
However, they should not be auto-processed due to their FAIL status. Despite the failure, the records are being incorrectly saved to PegaHC-Data-Plan.
Based on the statuses observed, it seems these records should remain in a FAIL state rather than being auto-populated:
We are using PCS Pega Foundation for Healthcare 24.2 (pega_foundation_for_healthcare_24_2_2024-11-12).
While processing plans, we encounter an error in PegaPCS-Data-Plan FetchFlattenedRecordsStatus, which validates flattened records. The error appears in the Flattening Process Summary as a mismatch: Expected <> Actual records.
These records are being auto-flattened and saved to D_SaveFlattenedRecord in PegaHC-Data-FlattenedStructure.
However, they should not be auto-processed due to their FAIL status. Despite the failure, the records are being incorrectly saved to PegaHC-Data-Plan.
Based on the statuses observed, it seems these records should remain in a FAIL state rather than being auto-populated:
- Status = FAIL
- pyRuleFormStatus = Good
- pzStatus = valid
This behavior may need investigation to prevent incorrect auto-flattening and ensure that failed records are properly handled.