function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Akshay MenseAkshay Mense 

Why my trigger for after insert is not firing if i intirgate the data with ETL Tool?

Hello, Why my trigger for after insert is not firing if i intirgate the data with ETL Tool? It work when i upload data through data loader. but not for ETL tool. Before insert works for both the cases
SwethaSwetha (Salesforce Developers) 
Hi Akshay,
Does it show any errors in the debug logs?
Your ask seems similar to https://salesforce.stackexchange.com/questions/100662/trigger-not-firing-from-external-system-sap which suggests altering the structure of your trigger's code as below
trigger Trigger on obj1(after insert,before update,before insert,after update) {
    ObjHandler objHandler = new ObjHandler();


    if(Trigger.IsBefore{
       if(Trigger.isInsert || Trigger.isUpdate){
           objHandler.beforeInsertUpdate(Trigger.new,Trigger.oldMap);
       }
    }
    else if(Trigger.IsAfter{
       if(Trigger.isInsert || Trigger.isUpdate){
           objHandler.afterInsertUpdate(Trigger.new,Trigger.oldMap);
       {
    {

}

You might also want to check if you have code to 
run Trigger only when records inserted through data loader like mentioned in https://salesforce.stackexchange.com/questions/25293/run-trigger-only-when-records-inserted-through-dataloader

Similar posts that might help get started:
https://salesforce.stackexchange.com/questions/73780/trigger-to-insert-new-record-not-firing
https://salesforce.stackexchange.com/questions/68437/how-to-make-triggers-not-fire-when-we-use-api-tools-like-data-loader/156284

If this information helps, please mark the answer as best.Thank you