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
Judith Randall 12Judith Randall 12 

Flow duplicate value despite checking first

Hi. I have a flow that creates a campaignmember record.  Before creating the new record it checks to make sure a record doesn't already exist.  Get records "failed to find record" so the create record runs only to fail with "Duplicate value".  The only thing I can see is that Salesforce is not using the 18 character ID but I'm a bit stumped at this.  If the record has been recently deleted could that have an impact?  To fix this I manually created the campaign member and I got no duplicate error message on manual insertion.  Any ideas please?
User-added image