It's all about IAM

API Bug: OIM 11g R2 PS1 API (ProvisioningService)

We were trying OIM 11gR2 PS1 API and faced some weird issue. We wanted to fetch the data from Child Form using new APIs (recommended). We found that it is giving the same value again and again.

Suppose we have 5 rows in Child Form for a user i.e. Role1, Role2, Role3, Role4, Role5 but API is returning Role5 five times.

We faced this issue only with New APIs (ProvisioningService) not with Old APIs. Finally, I found that it's a bug with the new API.

Root Cause and Bug Fix:

Method Name: getFormData()
Modification Required: Add  below line inside for loop
formData = new HashMap();