1

In custom object, I need to create a sharing rule such that it will be visible to owner1 if he creates a record and then if the records gets assigned to some other queue, then it will be visible to both owner1 and assigned person.

Please suggest.

  • Others may have a better approach, but at a guess you'll need to add an OriginalOwnerId field that is populated when the record is inserted with the OwnerId and include that field in your sharing rules. – Keith C Jun 18 '15 at 8:16
  • Hi Keith.I am writing a trigger on that custom sharing object and granting access to the Assigned_To field by UserOrGroupId of sharing obj. But Assigned_To has a lookup to contacts not User. Any idea how to grant access to contact lookup in a sharing reason trigger ? – novice Jun 18 '15 at 9:20
  • I don't; best to add this detailed information to your question if its what you really want to know. – Keith C Jun 18 '15 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.