I have an OWD of PRIVATE on Account/Contact

  • Criteria-based sharing rule extends Read to users in Group MyGroup

Given a user

  • with CRUD R on Account but not View ALL or View All Data
  • member of MyGroup

When search is done by said user...

  • Record is not found if owned by Automated Process user
  • Record is found if owned by any other user

What's going on?

(Implications for consumers of Platform Events that don't coerce an ownerId on inserted records)


This appears to be a Known Issue

When you click the Sharing button

  • On a record owned by Automated Process, you see one entry for License Manager. Expanding License Manager you get all the users with View All on the Account object

  • On a record owned by any other user, you see an entry for User (the owner), and for MyGroup - that is, as expected.


  • use triggers or other automation to change the owner of the record to other than Automated Process or ...
  • extend View All permissions on record's SObject to affected users

UPDATE: Issue resolved in Spring 22

  • 2
    Agreed. I would add, perhaps the process / flow / trigger on your Platform Event could be explicitly set to assign a default owner. If you don't want to hard-code an ID you could use something like Organization.WebToCaseDefaultCreatorId.
    – Charles T
    Nov 7 '20 at 0:23

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.