• Contents

Queue.startObjectIdsEnum Enumeration Property


This property returns an enumeration of object ids for all objects in the queue. The enumeration is traversed using the hasMoreElements and nextElement methods of the enumeration. Each call to the nextElement method returns successive elements of the series. The hasMoreElements method will return a Boolean true if this enumeration contains more elements.

Starting with 2018 R3, the Queue.startCallObjectsEnum, Queue.startChatObjectsEnum, Queue.startConferenceObjectsEnum and Queue.startObjectIdsEnum properties now accept an optional callback (for use with Connect scripts only) whose single parameter contains the result. See Interaction Connect Example in Queue.startCallObjectsEnum Enumeration Property for an example.




Read Yes

Write No

Value Assigned


Value Returned

Java Enumeration

The enumeration contains the list of object ids.

Java Enumeration Example (JavaScript)

var i = 0;
var ObjectIds = new Array();
var objects = scripter.myQueue.startObjectIdsEnum;
while (objects.hasMoreElements()) {
    ObjectIds[i++] = objects.nextElement();