This Release Update changes how Apex batch action results are returned: they now match the order of the original request. Previously, result order was unpredictable.
Where
Apex code that processes results from batch actions.
How
Review any Apex code that iterates over batch action results. If your logic assumes a particular result order—or explicitly sorts results—test behavior after enabling the update in sandbox. Update code that breaks with deterministic ordering.
Why
Unpredictable result ordering was a source of subtle bugs, especially when results were mapped back to the original request list. Deterministic ordering makes batch action code more predictable and easier to reason about.
💬 Comments
Sign in with LinkedIn to join the conversation
Loading comments...