Quantcast
Channel: Software Communities : Popular Discussions - Dell One Identity Manager
Viewing all articles
Browse latest Browse all 845

Designer - Manager Not Added to Person Record

$
0
0

Gurus,

I am back again with another one of those custom script questions. It seems that one of my Quest engineers is on vacation and the other is on the first week of an engagement so I have no idea when they might be able to help me. The problem I have now is that in my Development lab, none of the Person records have a Manager assigned to them. I know that the ADSAccount table is storing the user's manager in the UID_ADSAccountManager field and 90% of the accounts have a manager assigned. The problem is that the value for the manager is not being stored in the Person table and I have no idea why. Much like my other problems, this same symptom does not appear in the PRD database which was almost entirely created by Quest engineers. Yet, I would think that if we transported all changes from one system to the other, the code would still work.

 

Here is what I do know. We have two custom scripts that are all about user records. The first one is QC1_PersonAuto_ADS which basically delivers the users from ADSAccount, filters the accounts we are not interested in and then puts the remainder in Person table. This particular one is connected to the ADS/EX2K_ADSAccount_Insert/Update process. Then, we have a QC1_AD_Department_Import file that basically looks at one of our custom AD Attribs and populates the Department field. Lastly, there is a QC1_UpdatePersonDepartment_FromADS which serves the purpose of assigning the user to the department to which they belong. These scripts all seem to work and the values are there but the Manager is not populated.

 

We also have a script called QC1_PersonUpdate_ADS but it currently does not appear to be linked to any schedule or process plan.There is a possibility that this is the script that needs to be run to populate manager, I do see a section in the code that says this:

 

VID_PutValueSafe(Person, "UID_PersonHead", Connection.GetSingleProperty("ADSAccount", "UID_Person", f.Comparison("UID_ADSAccount", Account.GetValue("UID_ADSAccountManager").String, ValType.String)).String)

Is this setting the Manager property for UID_PersonHead? If so, I need ot figure out how to get this script put into a process. I tried setting one up to do so but the other import process have some ParameterValue0, 1 and 2 set for different things and I am not sure what parameters I would want to set in these values to ensure that the data is properly imported.

 

Accordnig to what I have in the comments of the code mentioned above, this script ovverides the VI_PersonUpdate_ADS function. So if I were to set this script in the orchestration with the same parameters as the VI_PersonUpdate_ADS function, would it populate the proper values when orchestrated?

 

I know this is a huge and funky question but my knowledge of coding is very limited.


Viewing all articles
Browse latest Browse all 845

Trending Articles