batch ids in task