Yup this issue has been resolved. I did the same, I created a field in Task table and gave reference in both the tables. It is working fine now. Thanks for help!