How can I update manager field on the user table using LDAP transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 11:20 AM
Hi,
We have user data being synced from Oracle HCM and few user records do not have manager field updated and want this to be updated from AD. How can I filter user records with no manager and want to update only those records using transform map?
Thanks,
Chandra

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2023 12:24 PM - edited 05-10-2023 12:28 PM
Hi Reddy,
Can you please try onBefore transform script
if (!target.manager) {
ldapUtils.setManager(source, target);
}
OR
if (!target.manager) {
source.manager = target.manager;
}
Please note that these are untested scripts.
Mark Correct and Helpful if it helps.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 06:51 AM
Hi Yousuf,
I tried this, its still inserting new records. Is there any way i could only update only manager field if empty?
Colease field is also set and it still creating new records.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 07:34 AM
Can you please share the screenshots of your configuration.
***Mark Correct or Helpful if it helps.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 11:59 AM
Hi,