Thanks for your reply Thomas. I am able to workout the 2nd question. I just need the name of the group to which the task was assigned. Is there no way to get the group id using the taskSummary Object that I have?
I cant find out the information using just the id of the user as it is gonna be assigned to many different groups.
Regards.