This article walks you through to process apex trigger records in less than 200 records per transaction using queueable chaining apex job to avoid Salesforce limitations.
Consider a situation where you are bulk inserting records into a custom object or standard object, and you have an Apex trigger that is fired by this custom object. This trigger contains complex business logic, and you’re running into Salesforce limitations due to processing the default batch size of 200 records in a single transaction.