Flat File Recon Validation Ignored and Event Created Even If Validation Failed (Doc ID 2103191.1)

Last updated on MARCH 08, 2017

Applies to:

Identity Manager Connector - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Problem Description
---------------------------------------------------
OIM reconciliation event is created even if the recon validation fails. Steps to reproduce:

1. Generate flat file metadata
2. Install flat file connector
3. Open lookup Lookup.XXXXX.UM.Configuration
4. Add code key: Recon Validation Lookup and decode: Lookup.FlatFile.UM.ReconValidation
5. Create lookup Lookup.FlatFile.UM.ReconValidation
6. Add code key: First Name and decode: com.xxx.oim.ff.recon.trusted.validation.FlatFileFirstNameValidation.
--------------------
  boolean valid=true;
  String fieldvalue=(String) hmUserDetails.get(field);
  if(fieldvalue.contains("#")){
  valid=false;
  }
  return valid;
  }
------------------------------
7. Make jar and add to java tasks. Refer: https://docs.oracle.com/cd/E22999_01/doc.111/e50210/extnd_func.htm#CHDEJEDA
8. Run reconciliation

The log says. Notice the statement at the end of message: "It will be ignored"


Validating First Name
<ORACLE.IAM.CONNECTORS.ICFCOMMON.SERVICE.OIM11.OIM11RECONCILIATION$CONCURRENTBATCHRECONCILIATIONSERVICE> <oracle.iam.connectors.icfcommon.service.oim11.OIM11Reconciliation$ConcurrentBatchReconciliationService : processReconEvent : Exception occurred [Validation failed for attribute: [First Name]] while validating or transforming this recon event [{Status=Active, Manager Login=XELSYSADM, Email=john.doe@xxxxx.com, IT Resource Name=xxxIdentityFF, Organization Name=Oracle, User Login=John.Doe, Last Name=Doe, Uid=JDOE, First Name=Jo#hn, IT Resource Key=64}]. It will be ignored>

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms