GET groupID of the current task

Hi,

I would just like to request for help if anyone has tried to get the groupID of the current task?

thank you!