Custom object data missing for lead

Version 3

    Issue Description
    In the activity log, it can be seen that a lead has been added to a custom object, but in the custom object tab there is no data.

     

    Issue Resolution
    The reason why that it appears as the custom object data is missing for a lead is because the custom object data becomes disassociated to the lead and associated to another lead when the custom object data is pushed into Marketo.

     

    When the custom object data is pushed to Marketo intended for lead A with the same dedupe field value of an existing custom object record associated to lead B, it disassociates it from the lead B and associates it with lead A. Therefore, when looking at lead B that has had an 'Add to Custom Object' activity, but does not have the Custom Object data visible in the Custom Objects tab, it is because the custom object data was associated to another lead.

     

    For example:

    1. On Lead A, custom object data is added on x time with the dedupe field value 'test' --> custom object data is associated to this lead and is visible in the Custom Object tab
    2. On Lead B, custom object data is added on y time with the same dedupe field value 'test' --> existing custom object data that was created in previous step is now associated to this lead, becomes visible in the Custom Object tab

    Since the custom object data is moved to this lead, it is no longer visible in the custom object tab for Lead A.