Timeline for UNABLE TO LOCKROW when inserting contacts on a single account through batch apex
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 13, 2020 at 13:21 | comment | added | Badduboy | There is only one batch in this case. The logic in the batch is to insert contacts on a single account. If I am inserting 1000 records since the batches will be running in parallel when one job is attempting to insert contacts on a single account the other four are trying to do the same on single account and are failing. Are you suggesting to chain the single job?? Can we actually chain a single batch apex class to make them run in series mod. | |
Sep 12, 2020 at 11:23 | history | answered | Anudeep Gopagoni | CC BY-SA 4.0 |