Salesforce Fact #413 | Impact of role deletion

Do you know you can delete a role only if it is not assigned to any user. Additionally, on deletion of the role all the associated sharing rules which refer to this role, also gets deleted.

So, we should check whether the role is referenced in any sharing rule before deleting it.

There is also an idea on ideaexchange: https://ideas.salesforce.com/s/idea/a0B8W00000GdebVUAR/when-deleting-a-role-warn-if-dependent-sharing-rules-will-be-deleted


Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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