The CreatorCon Call for Content is officially open! Get started here.

We are getting data from LDAP to ServiceNow instance.

niveditakumari
Mega Sage

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 

 

 

7 REPLIES 7

Runjay Patel
Giga Sage

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

Community Alums
Not applicable

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.

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 

 

 

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