We are getting data from LDAP to ServiceNow instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 09:21 AM
Hi,
We are getting data from LDAP to ServiceNow instance. When one record is getting deleted in LDAP(staging table) then that record should be inactive in ServiceNow instance.
We are getting data like UserID, Name, email, location from LDAP to ServiceNow.
Can anyone please help me to achieve that.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 07:25 PM
Hi @niveditakumari ,
asked ldap team to send action and write logic in ServiceNow that if action is delete then update the record marking active= false.
Accept the solution if it helped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 08:14 PM
You'll need to have a field in your transform map that distinguishes when a record is deleted in LDAP. When that occurs then in your transform script is where you'll mark the user as inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 12:50 AM
Hi @Community Alums,
Thank you for your reply.
We are getting user record from LDAP to ServiceNow, some are created manually we can differentiate that when source is empty it mean record gets created manually and when source is not empty it mean record gets created through LDAP and my query should be I need to fetch all records if source is not empty and active is true in ServiceNow then show all records which matches above condition and after that I need to add query like check record that is available in ServiceNow but not available in LDAP it mean record gets deleted in LDAP then that record we need to made that inactive in ServiceNow.
Can you please help me to achieve that.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 02:28 AM
Hi @Community Alums,
Thank you for your reply.
We are getting user record from LDAP to ServiceNow, some are created manually we can differentiate that when source is empty it mean record gets created manually and when source is not empty it mean record gets created through LDAP and my query should be I need to fetch all records if source is not empty and active is true in ServiceNow then show all records which matches above condition and after that I need to add query like check record that is available in ServiceNow but not available in LDAP it mean record gets deleted in LDAP then that record we need to made that inactive in ServiceNow.
Can you please help me to achieve that.
Regards,
Nivedita