fixing to get the partitionId from GroupInstnace