Reputation: 1
I have the following scenario:
My user has the Partner Community license and the profile is a custom one , called Agent
When I want to debug a flow as my partener user it says that it doesn't have access to the Service Territory object.
In order to solve the root cause I have done the following:
** Unfortunately, none of this worked. Would you have any suggestion on which I could solve the problem? Thank you!**
Upvotes: 0
Views: 267
Reputation: 19612
You assigned license, ok. but have you assigned a permission set (there may be one built in coming with FSL or create a custom one and give Read permission via it?)
When all else fails you probably can move this part of flow's logic to Apex InvocableAction and use SOQL without the security checks the developer is supposed to normally do ("without sharing", not using "describes", not using "WITH SECURITY_ENFORCED"). Shady but well...
Upvotes: 0