Salesforce Fact #520 | GroupMember scenarios

The GroupMember object keeps track of all queue and public group assignments. Let's see the scenarios:

1) When a user is added to a public group, a row gets created where the Group Id is the Public group Id and UserOrGroupId is the user Id. The Group type is Regular.

2) When a user is added to a queue, a row gets created where the Group Id is the queue Id and UserOrGroupId is the user Id. The Group type is Queue.

3) When a public group is added to a queue, a row gets created where the Group Id is the queue Id and UserOrGroupId is the public group Id. The Group type is Queue.

Attached is the screenshot.



Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow