You need to sign in to do that
Don't have an account?
kirankumarreddy punuru 10
Can some one tell me why this error is occuring
Hi ,
Iam getting this email can some one tell me why this is occuring .
Subject: Developer script exception from eClerx : 'EloquaTaskUpdater' for job id '7073300002b878v' : Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpda...
Apex script unhandled exception by user/organization: 005400000014PEF/00D400000009JYK
Failed to process batch for class 'EloquaTaskUpdater' for job id '7073300002b878v'
caused by: System.DmlException: Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpdate
caused by: System.ListException: Duplicate id in list: 00Q3300001CWdkCEAT
Trigger.TaskBeforeTrigger: line 71, column 1: []
Class.TaskHandler.eloquaTaskHelper: line 30, column 1
Class.EloquaTaskUpdater.execute: line 20, column 1
Subject: Developer script exception from eClerx : 'EloquaTaskUpdater' for job id '7073300002b878v' : Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpda...
Apex script unhandled exception by user/organization: 005400000014PEF/00D400000009JYK
Failed to process batch for class 'EloquaTaskUpdater' for job id '7073300002b878v'
caused by: System.DmlException: Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpdate
caused by: System.ListException: Duplicate id in list: 00Q3300001CWdkCEAT
Trigger.TaskBeforeTrigger: line 71, column 1: []
Class.TaskHandler.eloquaTaskHelper: line 30, column 1
Class.EloquaTaskUpdater.execute: line 20, column 1
regards,
kiran
Iam getting this email can some one tell me why this is occuring .
Subject: Developer script exception from eClerx : 'EloquaTaskUpdater' for job id '7073300002b878v' : Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpda...
Apex script unhandled exception by user/organization: 005400000014PEF/00D400000009JYK
Failed to process batch for class 'EloquaTaskUpdater' for job id '7073300002b878v'
caused by: System.DmlException: Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpdate
caused by: System.ListException: Duplicate id in list: 00Q3300001CWdkCEAT
Trigger.TaskBeforeTrigger: line 71, column 1: []
Class.TaskHandler.eloquaTaskHelper: line 30, column 1
Class.EloquaTaskUpdater.execute: line 20, column 1
Subject: Developer script exception from eClerx : 'EloquaTaskUpdater' for job id '7073300002b878v' : Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpda...
Apex script unhandled exception by user/organization: 005400000014PEF/00D400000009JYK
Failed to process batch for class 'EloquaTaskUpdater' for job id '7073300002b878v'
caused by: System.DmlException: Update failed. First exception on row 0 with id 00T3300004b9UhnEAE; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, TaskBeforeTrigger: execution of AfterUpdate
caused by: System.ListException: Duplicate id in list: 00Q3300001CWdkCEAT
Trigger.TaskBeforeTrigger: line 71, column 1: []
Class.TaskHandler.eloquaTaskHelper: line 30, column 1
Class.EloquaTaskUpdater.execute: line 20, column 1
regards,
kiran
Seems the list you are using for update operation contains two same records. Please use a map<Id, Sobject> for updating the records.