Added pending workflow hook to abstract workflow