Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
LL:_De-Duping
LL:_De-Duping
#

  1. Get the SF lead and contact fields mapped to the LL Email field. [Which is SF Email by default, however the user can modify this any time].
  2. If there were SF lead or contact fields mapped to the LL Email field, then get a list of the SF Records -Leads and Contacts- with duplicate emails. Which returns something like this: eng.imad.atia@gmail.com [3 leads and 4 contacrs] emad.atya@leadliaison.com [4 leads] emad.atya@globalimpactsw.com [5 contacts]
  3. For each email with duplicates, we get a list of all the SF leads and contacts having the same email.
  4. Select the SF record which everything will be merged to according to the following cases, from top to bottom: 
    1. If it is a SF Contact and synced to a LL visitor.
    2. If it is a SF Lead and synced to a LL visitor.
    3. If it is a Contact with latest contact create date.
    4. If it is a Lead with lateset lead create date.
  5. Get a list of all the Tasks and Activity history records assigned/linked to all the Other SF Conracts and Leads.
  6. Assign/Link all these Tasks and Activity history records to the selected SF record.
  7. Delete all the other SF Leads and Contacts.
  8. Remove the sync which was assigned/linked to all these SF records.