Salesforce Fact #890 | Unassign a PS from all PSGs

Suppose we have a PS which is assigned to multiple PSGs. Now, for some reason we would like to unassign it from all the PSGs.

The attached apex code snippet would be helpful for the same:



Comments

  1. Great post! Thanks for sharing this valuable information. Looking forward to more updates!

    ReplyDelete

Post a Comment

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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