make sure taskId is not empty.
map tasks to job if Job.TaskIds is not empty.