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
Sweta GovindarajanSweta Govindarajan 

I am having the same error "The sharing rule did not behave as expected."I have dont everything but its not working please help me

AnudeepAnudeep (Salesforce Developers) 
Hi Sweta, 

I am unsure in which scenario are you seeing this error. However, I am sharing a few use cases where this error occurs below

https://developer.salesforce.com/forums/?id=906F0000000B0uZIAS

https://trailblazers.salesforce.com/answers?id=90630000000ZhpfAAC

Let me know if it helps. Thank You!
Sweta GovindarajanSweta Govindarajan
Thank you.. I am in Data Security --> Define Sharing Rules unit
https://na123.lightning.force.com/lightning/setup/SecuritySharing/home
Sweta GovindarajanSweta Govindarajan

I tried everything but its not working :(

It keep on saying --> The sharing rule did not behave as expected.

Nicole BottsNicole Botts
Unfortunately, I didn’t get it right too. Unable to find (https://essayschief.com/) the cause of the error.