how I can avoid insertion of duplicate record in async insert business rule

akkk
Tera Contributor
 
5 REPLIES 5

yashkamde
Mega Sage

Hello @akkk ,

 

Your requirement is correct but - Preventive, 

Async insert Business Rules run after the record is already saved, so they can't prevent duplicates directly. The best way is to use a Before Insert Business Rule given by @Aditya_hublikar .

Because for prevention, always enforce uniqueness before the insert.

 

If my response helped mark as helpful and accept the solution.