How do I query queue ID in Apex?
- Queue Name
- Supported object
The reason I need queue ID in Apex because my routing logic assigns selected records to a queue on the click of a
commandButton. Currently I have hard-coded the queue ID for testing.
record.OwnerId = '00GQ0000001nx6v';