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
sornasorna 

Share the records with previous owners too

In my project, the current sharing model for a case is private. Using sharing rules, the records are shared with some queues. So, if a queue owns a record, all the members of that queue could access the record. 

 

But my requirement is the members of the queue which previously owned the record could also access those records.

 

For instance,

Let's say a case is owned by Queue1 and all of its member can access the record. Now, if the case is transferred to Queue2, then all members of Queue2 could access the case. But all the members of Queue1 should also access the case as Queue1 previously owned the record. 

 

Any ideas/suggestions on how to implement above sharing model would be much appreciated. 

 

 

Thanks,

Sorna

IspitaIspita

Hi,

You can utilize "Apex sharing" to implement this via apex, it gives you lot of flexibilty w.r.t. customizing the sharing model.

Also try exploring the new "Criteria based sharing" {I have just read about it in release notes}

Do try it out ...