Use job.type instead of job.id