Orchestration
To send Expected wait time per queue to Automation, add the Give Treatment task to a workflow. In the task properties, select a self-service flow containing the expectedWaitTime variable.
Use the Play Primary once and exit playback mode to announce Expected wait time per queue to customers. Do not use a playback mode with a loop to play Expected wait time per queue to customers. The expectedWaitTime value stays the same while the Give Treatment task is running.