I am building a functionality that calls an external APEX API endpoint: whenever a case is updated in Salesforce with certain conditions, send 2 fields to the API endpoing and update the Incident on the application.
The application has a REST callout that specifies the JSON to use in order to update an Incident.
My approach is to work on the After Update trigger, that calls a Handler class, then calls a Future methos in another API Class. This future method will have the callout to update 1 Incident.
My question is: I know that there is a limit of 100 callouts in the same Transaction. SO, what happens if Salesforce updates 1000 Cases at 1 time. I know that 200 will be processed at the same time, but how to handle calling 200 times the API REST method that is used to update the Incident?
Thanks so much.