Salesforce Fact #999 | User permission check using LWC exposed as flow local action
With the Winter'26 release, we can now create flow local actions using LWCs.
One use of this feature is checking user/custom permission of the current user. Suppose we have created a screen flow and in between the process we need to check whether the current user has the permission to Activate Contracts and then route to the appropriate path. This can be easily figured out using the userPermission module in LWC and the same LWC can be utilized as a local flow action instead of using any complex apex code logic.
Attached are the screenshots.




Comments
Post a Comment