mshanemc / roundRobinProcessBuilder

27 stars 10 forks source link

An Apex error occurred: System.ListException: Duplicate id in list: 0030Z00003cAkZbQAK #9

Open melissa-shook opened 4 years ago

melissa-shook commented 4 years ago

I get this error from Process Builder at times. It happens when we have a large batch of records being inserted. "An Apex error occurred: System.ListException: Duplicate id in list: " I am trying to assign a Contact from a Process Builder on a custom object that has a Lookup to the Contact. Could that be why?

mshanemc commented 4 years ago

Is is possible multiple of the custom object look up to the same contact? If so, that might be the problem.

If that's the case, I think I can fix it. Would you be wiling to test the fixed package, in a sandbox/scratch org?