3 réponses
I have not used the QueueSObject class before, however I see that it has a QueueId field. Try using that and the owner should be assigned properly.https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_queuesobject.htm