Is it possible to create a collection via a visualforce flow and then update batches of a certain size until complete?
- Flow is kicked off when an account is updated.
- Create a collection of all contacts within the account.
- Loop through collection in batches of 50 until complete with a wait time inbetween
- Each batch has updates performed to it
I'm trying to deal with CPU limits on mass updates to records and so far a PBR and trigger (with @future and without) are both still erroring when there's more than a few hundred records.