Salesforce Fact #787 | UserPermissionAccess

There is an object named UserPermissionAccess which represents the permissions accessibility of the current user.

We can use Get Records element on this object in flow to check permissions like 'Activate Contracts' or 'Activate Orders' of the current user.

Reference: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userpermissionaccess.htm

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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