I want to do a bulk update of records in parallel, but Batch Apex doesn't permit this.
I was wondering if the following solution would work:
- I have an SObject defined that holds a value for the query, limit & offset values.
- I split a job up according to a max say 1000 records and the correct offset and I add these values one at a time to the above table, which fires a trigger that calls an @future method.
- The @future method does all the processing.
Now the question I have is -
- Does the above scenario violate the @future invocation limit of 10 from the calling code? i.e. Does the trigger callout count towards the limit in the apex calling the insert record.