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
Alfredo Vitale 7Alfredo Vitale 7 

Urgent - My flow duplicates records

Hi everyone,

we have an important issue.
We have a custom object called Organic Leads. We use this object to assign organic leads to a specific territory based on specific criterias.
Once assigned the lead, in the system is automatically created an Account, a Contact and an Event.
What suddenly happens is that the flow duplicates the Contact and the Event created and I have no idea of why that happens.

User-added image

 

I am not very comfortable with flow, please help me!

Gaurav HandooGaurav Handoo
Hi Alfredo

I believe this Flow is getting called through a Process Builder, which is executing itself on create and edit of Organic Lead. If this be the case, I believe the records you are creating are meeting all the checks being used in the Flow, thus ending up creatnig the records twice.

However, would be better if we can connect over a screenshare session for a proper deduction and corresponding resolution. You can connect with me at gaurav.handoo@gmail.com

Cheers!!

Gaurav