function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jisakc1jisakc1 

Can PermissionSets be accessed in visual workflow?

I am trying to use membership in a permissionset to determine if a user can create a certain type of request from a certain type of account.  I have done this in the pase with apex and it works perfectly, but in flow I get the following error.  Is there a security setting that would allow a user that is not an admin to run a flow with this type of query in it?
common.exception.ApiQueryException: sObject type 'PermissionSet' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
(There was a problem executing your command.) > RETRIEVE||
ShashankShashank (Salesforce Developers) 
It should ideally be possible, as per this blog: http://rakeshistom.wordpress.com/2014/08/14/auto-addremove-permission-set-part-1/