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

Code based Sharing Rule calculation on assignment rule

Hi ,


I had one requirement where we have to share case on creation, to contact partner role based on the contact in case object.Means when a case is created we check whether the case contact is of partner role and if yes then share the case with its role so that anyone in that role can access this case.


It is working well in salesforce but when a case is created from partner portal all the debugs logs are correct but the entry is missing from case share table.


Please suggest.