Why does record ownership change when deleting a record owned by a queue?
|Knowledge Article Number||000228240|
|Description||I deleted a record that was owned by a queue. After undeleting it, I noticed that I'm now the owner. Why did this happen?|
|Resolution||This is the expected result of deleting a record owned by a queue. Deleting the record in this situation has the effective result of the user simultaneously accepting ownership from the queue and then deleting the record.
The behavior is consistent, whether the user deletes the record via the Salesforce user interface or via API such as with the Apex Data Loader.