You need to sign in to do that
Don't have an account?
Neethu u
TDTM After Delete Not wotking in Async Mode
I am using TDTM framework for my projects. I have created a triggerhandler record with my class name configured for delete. When I try deleting a record in synchronous mode it is successful. When I try deleting a record in TDTM framework in Asynchronous mode I am getting below error.
first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, hed.TDTM_CourseEnrollment: execution of AfterDelete caused by: System.NullPointerException: Attempt to de-reference a null object Class.hed.TDTM_TriggerHandler.runAsync: line 162, column 1 Class.hed.TDTM_TriggerHandler.runClass: line 135, column 1 Class.hed.TDTM_TriggerHandler.run: line 75, column 1 Class.hed.TDTM_Global_API.run: line 61, column 1 Trigger.hed.TDTM_CourseEnrollment: line 33, column 1: []
The code base is in
https://github.com/SalesforceFoundation/EDA/blob/master/src/classes/TDTM_TriggerHandler.cls
And the error is occuring as in delete it is trying to access newList.
Is there any alternative that I can use after delete in Async mode?
first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, hed.TDTM_CourseEnrollment: execution of AfterDelete caused by: System.NullPointerException: Attempt to de-reference a null object Class.hed.TDTM_TriggerHandler.runAsync: line 162, column 1 Class.hed.TDTM_TriggerHandler.runClass: line 135, column 1 Class.hed.TDTM_TriggerHandler.run: line 75, column 1 Class.hed.TDTM_Global_API.run: line 61, column 1 Trigger.hed.TDTM_CourseEnrollment: line 33, column 1: []
The code base is in
https://github.com/SalesforceFoundation/EDA/blob/master/src/classes/TDTM_TriggerHandler.cls
And the error is occuring as in delete it is trying to access newList.
Is there any alternative that I can use after delete in Async mode?
Leanbridge Technologies
when a Contact record in Salesforce is added, updated, or deleted, we often want other ... For example, a trigger on the Contact object can automatically update ... Be aware that Trigger Handler records are not copied to Developer