add task complete info and check prequisite when exec