Generally in this scenario..wait for resume is used with paralle for each so that multiple are created and the job waits for multiple and starts even if one is completed for that specific task
And after resume it is ideal to add the data to separate queue which triggers the remaining prr of the process as a separate job as a separate process instead of continuing in the same
So process 1 - pick queue item, create task, in end state use parallel for each and wait for task activity ,after wait add quwue item ti a different queue
Process 2 - queue trigger once process 1 adds an item to queue, process the remaining data, get form tasks can be used to get the data of the tasks
Cheers