Parent-Child Relationships Between Groups

Kalaiarasan Pus
Giga Sage

When adding a group as child of another group, does it also add the members of child group to parent?

If not, does doing this makes sense to do this? Have you came across such a scenario? What could be pro's or con's of doing this?

11 REPLIES 11

paramveer
Mega Guru

Yes, in case of adding a group as a child to another group, it add child group member's to parent group. Although in group member related list those member will not show. But if you check by below Code, it will return true.



gs.print(gs.getUser().isMemberOf('parent group sys_id'));


I should have mentioned this in the question I am aware of this that the child group's member will show as the member of parent group but this doesn't help in reassignment as the person is not added as a record in the membership table and hence would not be selectable in the assignedto field.


srinivasthelu
Tera Guru

Hi Kalai,



Wiki says,



ParentOther group of which this group is a member. If a group has a parent, the child group inherits the roles of the parent group. The members of the child group are not members of the parent group. For example, if an incident is assigned to the parent group and you click the Assigned to lookup icon, only the members in the parent group are available. The members of the child group are not available.


My view,



Pros:


Nothing:



Cons:


You might end up being clueless, which group the user belongs to.




Thanks


Srinivas


Mark this answer as helpful/correct if it does so


paramveer
Mega Guru

Also on main benefit of parent child relationship is the hierarchical representation of group. It's easier to select the group, in case of parent child relationship. See below image.




find_real_file.png