05/24/2023 09:55 AM - edited 05/24/2023 09:56 AM
Hi,
Ware working on new joiners and provisioning their new accounts into active directory.
In our create account json we are using '"manager": "${managerAccount==null?'':managerAccount.accountID}",' to map to the manager field.
This is working when the manager is active. However, if the manager is inactive, the mapping is left blank. To clarify, the users Saviynt profile is active but their AD account is inactive. We still want to map to inactive managers AD account.
We also tried '"manager": "${managerAccount==null?'':managerAccount.customproperty3}",' but it was the same result. (we store DN in the CP as well)
We want to mapping to show even if the manager is inactive in active directory. Is this possible? Do we need to allow a setting for this mapping to complete successfully? Thanks!
Solved! Go to Solution.
05/24/2023 11:09 AM
Is there any error that you are getting?
Thanks
05/24/2023 11:46 AM
There is no error. The user is just created in AD with the manager field blank.
05/24/2023 12:12 PM
Have you tried with below without any if-else condition.
"manager": "${managerAccount.accountID}",
Thanks
05/24/2023 02:08 PM - edited 05/24/2023 02:22 PM
I tried this out and it worked! Thank you!!
05/24/2023 02:12 PM - edited 05/24/2023 02:35 PM
.