What execution model is used by For Each and Batch Job scopes?
What execution model is used by For Each and Batch Job scopes?
The For Each scope is designed to process each item in the collection one at a time, making it single-threaded. The Batch Job scope, on the other hand, is designed to process records in parallel, making it multi-threaded. Therefore, For Each is single-threaded and Batch Job is multi-threaded.
D. For each is single-threaded and Batch Job is multi-threaded