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
Henrik HeltHenrik Helt 

Headless Flow executed results in duplicate records created

Hi

I have created a very simple headless flow.

A Record Lookup (custom object) followed by a Record Create (Contact) and finally a Record Update (the same custom object). A workflow trigger it.

When creating a new record in my custom object the Contact record is created as expected and in addition the record update works as expected.
If I for example uploads several records to my new object (x creates) my flow execudes, unfortunately instead for creating x numbers of new different Contacts it creates x numbers of similar Contacts.

Any ideas?
ShashankShashank (Salesforce Developers) 
If you are still facing this issue, I would recommend you to report it to salesforce support by creating a support case. Since the feature is still in pilot phase, it may still be imperfect.
Alexander DavisAlexander Davis
I'm having this same issue, very simple flow creating duplicate records. I'm going to report this as well but if you have any updates please post.
Mani SampathkumarMani Sampathkumar
Is this still an issue? I am facing a similar issue when my flow tried creating a pricebook, product and Pricebookentry. It is creating duplicate pricebooks during bulk update but when I update it manually, it doesnt. Detail issue description is here: http://salesforce.stackexchange.com/questions/99277/flow-creates-duplicate-pricebook-records

Can anyone help me on this pls? Thx!