added role attribute to jobrecord