You need to sign in to do that
Don't have an account?
soorya r
Create permission set by apex class, "Internal Salesforce.com error"
HI All,
I am getting "Internal salesforce.com error" when creating permission set through apex class. Actually I am deleting the existing permission set and create a new permission set with that same name. If the existing permissions set does't have Permission set Assignments then its works fine or it shows the above error and it is not executed. Please give me suggestion.
Thanks.
I am getting "Internal salesforce.com error" when creating permission set through apex class. Actually I am deleting the existing permission set and create a new permission set with that same name. If the existing permissions set does't have Permission set Assignments then its works fine or it shows the above error and it is not executed. Please give me suggestion.
Thanks.
Sorry for this issue you are encountering.
Please try the below code which works fine for me.
Apex Class: Apex Trigger: Hope this helps.
Regards,
Nagendra