function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dave BerenatoDave Berenato 

CampaignMember Duplicate Error in Cloud Flow Designer

I'm using a mapping tool to Map a custom object I have for Real Estate Listings. Each Listing has a Parent Record (Contact) for the Listing Agent. I want to identify a subset of listings on the map, and then create a campaign out of those agent Contacts.

The goal is to update a field on the Listing that will trigger a Flow to add their Parent - Contacts to a Campaign.

The problem is that in any given subset of listings, there might be a Contact duplicate. So the mass update happens to the Listing, it errors because it tries to add the same Contact to a campaign multiple times.

Has anyone come across a workaround for this issue? That if a mass update is adding Campaign Members, it won't roll-back on error?