I have a set step that returns and agent's extension. (This app is for playing back the agent's custom greeting to the caller).
Once a day or so (this app runs about 900 times per day) the arrayIndexOutOfBoundsException gets thrown. I've marked the line it throws the error for with an X.
This set step is no doubt crude and could be improved. I welcome all criticism. By the way, is there a known good script which reliably plays back an agent's prerecorded greeting? I would throw this app out if there was a better one floating around out there. (this app works by matching the caller's ANI with the selected agent's extension, recording it in the local uccx file system in an individual file, then blind conferencing into the playback application which performs a lookup of the caller's ANI, matching it with selected agent's extension.)