As part of a function that I'm working on, I need to get the ID of the incident's queue using JS API. I was able to find the syntax for getting the value of a custom field in the documentation ("GetCustomFieldByName)", but not for system/standard fields like Queue.
Can anyone share how to get the ID of the incident's queue? Let's assume that I have defined my incident variable as follows:
var inc = window.external.Incident;
Thanks in advance.