We are using workflow to create Customers, Contacts and Custom records from data submitted via an online form.
Everything works as expected until the workflow attempts to create a Customer record that already exists. When this occurs the workflow stops, the records don't get created and the online form returns the following error...
A customer record with this ID already exists you must enter a unique customer ID for each record you create. To correct this record click back and enter a new customer ID in the customer field and then click submit.
For a customer facing form this is, well, a bit rubbish!There appears to be no way of managing record duplicates occurring from the Create Record event in workflow or changing the behaviour of a workflow and how it reports the error when it encounters this situation.As a workaround we are attempting to append the customer ID with an incremental integer during the workflow to make it unique but even if it works it's going to make the database look terrible.How are others dealing with duplicates in workflow?