I would like some help over below:
I have an use case where due to Apex CPU timout limits i would like to make this trigger in asynchronous with other objects. I was wondering Since sales force has limits for 50 jobs per queue able, would that mean when my data loader run with batch size 200, how many queueable will form. Will Transaction mean, one transaction of 200 records or total number of records will count in one transaction
Trigger on Wind_pipes__c (before insert, before update, after insert, after update)
{
if (Trigger.isAfter && (Trigger.isUpdate || Trigger.isInsert)) {
System.enqueueJob(new WindPipeHandler(Trigger.newMap));
}
}
}
}