Complete bulk operation on process instance ids

Hey,

I just wondering if there is a option to perform bulk complete pending task.

What i handle this situation for now?
I just using process engine to get task service and then call .complete:

processEngine.getTaskService().complete(task.getId(), variables);

But… there is any way to do this on whole list of process instances? Im not talking about foreach because its not efficient operation. I wanna perform the same action for all instancess at once. Maybe i should try with Batch or BatchQuery? I really need help.