Work.com
Leading Through Change with Data
COVID-19 Data Hub
COVID-19 Global Daily Tracker
Global Economy Data Track
Government Data Track
Healthcare Data Track
B-Well Together
Leading Through Change
Salesforce Care
Leading Through Change Blog
Trailhead Resources
AppExchange Resources
MuleSoft Resources
< Back to List
Vijay Doraisamy
User Territory Sharing with Custom Sharing Reason - WOs and SAs
Work Management
When we enable user territory based sharing in SFS, in background, the SFS managed package creates sharing rules for WO and SA based on service territory (to a public group) via apex. However, when doing so, there is no Sharing reason set for this sharing rule. On the Lightning platform architecture, if a owner is changed for a record (WO or SA), system deletes all manual sharing without a sharing reason for the record including the one created by SFS managed package territory sharing feature. Because of this gap, we need to write custom code to reinstroduce the sharing created by managed package which is overhead and not good in long run.the request to SFS product team is that, the SFS managed package user territory sharing should create the territory sharing with a sharing reason. i.e. similar to the one used for sharing rules for dispatched SA and WO that is also done by managed package but it does create it with a sharing reason. In this scenario, the owner change of the record does not delete those sharing.
Merge Idea · Flag
Pawel Dobrzynski - 26 days ago
Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.
Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.
Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.
Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.