Thursday, January 19, 2017

OIM Connector - provisioning set the default value to 1/1/1970 for Date attribute

There is a bug in OIM  for Connector provisioning for the date format attribute. OIM adapter sets the date to '1/1/1970' and provision that to the target system.


There is a simple workaround for this:


In the provisioning lookup to map the date attribute as follows:


Code Key Decode
SampleDate targetSampleDate=SampleDate!=null&&!SampleDate.startsWith("1970-01-01")?SampleDate:null

No comments:

Post a Comment