I have an inbound email handler that's working. However, right now I'm worried about concurrency issues, when a user sends 2 emails at the same time for the same object. (I have a business document form, and a technical document form that gets sent to salesforce.) They contain different things, except for the company name (They get sent over from someone else directly to salesforce).
Since I'm doing an insert of my custom object at the very end, I'm worried about concurrency issues. Will this ever happen? My inbound email handler creates 2 custom objects for the same company and both filling in only half the information.
If so, how can I prevent a concurrency problem from happening? Current Ideas: - Do a query for custom_object right away with the associated account rather than at the very end. If the custom_object does not exist, create one.
Cheers,
Kuen