Skip to main content
Nintex Community Menu Bar

Drawloop - Insufficient Privileges: Missing access to 'PermissionSetAssignment'. (invalid_type) (ExternalError)


Calderon_Doc
Nintex Employee
Forum|alt.badge.img+4

Issue

Users who are running Mass from a button in Lightning may come across this issue.

By default, the Mass button redirects to the Job Queue Status page - users that don't have the DocGen Admin permission set will see this error.

 

Error Code

Insufficient Privileges: Missing access to 'PermissionSetAssignment'. (invalid_type) (ExternalError)

 

Resolution

By default, the Job Queue Status has been chosen to be the redirect location. Update the Mass Button to redirect to a different URL that doesn't require specific permissions.

 

Redirect after generation:
A Salesforce Lightning List View can be chosen as an alternative. This can not be dynamic unless you wish to develop the code and button independently.

1. Navigate to the desired List View in Lightning and copy the information after the ".com". 
2. Replace /apex/loop__jobqueuestatus in line 28 of the Visualforcepage with the desired URL. See the example below:

 

1. Get the URL: 

10375i2773027F24B29BB9.png

 

2. Add to the Visualforce Page:

10374i624714F259A7BAB4.png

Additional Information

 

 

Related Links

Translate
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings