I need help with the query on EmailServicesAddress object Salesforce.
We have setup some Email Service Addresses for Email-To-Case and they have different queues as case owners. I need to query this to run some logic in my code.
I am not getting if we can even query that. its not listed in the documentation Salesforce provided for the EmailServicesAddress.
We can run this query on Email Service Address -
SELECT Id, IsActive, LocalPart, EmailDomainName, AuthorizedSenders, RunAsUserId, FunctionId, Function.FunctionName, DeveloperName, CreatedById, CreatedDate, LastModifiedById, LastModifiedDate, SystemModstamp FROM EmailServicesAddress where Function.FunctionName='EmailToCase'
But it is not having any field to query Case owner field.