While connecting the SAP HR/HCM to IdentityIQ, I’ve faced the issue.
The manager data in SAP is stored as PERNR (personal number) of manager as String, so as the aggregation is executed, there is only the pers. number of manager in Account Attributes.
Does anyone have the ideas of how this personal number could be converted to “Identity” data type in “Manager” field for Identity Attributes? Should it be done via IdentityCreation rule?
Application Attribute should be PERNER and Identity Attribute Should be the one who is holding PERNER attribute value from like, if you do not have any attribute for Identity which is holding PERNER from HR System, then you might need to create one.
You need to understand how manager correlation works and why do you need correlation for manager attribute unlike for any other attributes like firstname or lastname or email.
All the attributes (mostly) are string literals. We just read the data from HR source.
But for manager, it is not a string, it is an identity object. That is why you are able to see Manager attribute value as a hyperlink pointing to manager identity cube.
This will help us a lot in coding, we get manager as an object
Identity manager = identityObj.getManager();
Once you get manager object, you can get any property of manager as per your requirements. You will understand this more when you start development in IIQ.
So, I don’t see that you have created an attribute pointing to PERNER in your Identity.
Create an identity attribute, better name it as Employee Number.
Add source mapping, read PERNER from HR application
Make this attribute as searchable.
Under manager correlation,
Application attribute: Supervisor
Identity attribute: Employee Number
Once changes done, Run Refresh identity Cube Task with Refresh Manager status option enabled.
I’ve made everything as you told, except that the attribute that handles the PERNR from SAP is already created.
I’ll provide you with several screenshots in different replies, cause i have the limit of attached screenshots.
Here is the Identity Attribute for employee personal number from SAP.
Sorry, didn’t read all the topic, but if the refresh is not assigning manager try adding <entry key="alwaysRefreshManager" value="true"/>
to the refresh task definition.