Legacy Dev Forum Posts

 View Only

Sign Up

Call.PositionInQueue not updating

  • 1.  Call.PositionInQueue not updating

    Posted 06-05-2025 19:11

    henan | 2022-01-19 14:42:37 UTC | #1

    Hi, I want to use the Integer number for position in queue to create a custom TTS message. Using the supplied action in architect that uses system prompts, feels weird when paired with a TTS voice (google wavenet) for promotional messages.

    I've tried what James B. concluded here: Position in queue

    But unless I also have the "Play position in queue" action that Integer does not update.

    Is there someway to force an update for the Call.positionInQueue without using the standard action?


    MelissaBailey | 2022-01-19 17:21:50 UTC | #2

    1. Remember the it will never report an increase (https://help.mypurecloud.com/articles/add-a-position-in-queue-action-to-a-task/). If you want the true value, use a data action to look it up.
    2. The Call.PositionInQueue variable will update on its own. Its value is cached for a some amount of time which is why you may not notice.

    henan | 2022-01-19 21:44:58 UTC | #3

    Thanks for your reply, MelissaBailey

    1. I know and I do not want it to Increase, so I essantially want the exact same functionality as the "Position in queue" action, however with custom text and read by the TTS voice.
    2. What are the update interval then? I sat for 10 minutes and also had a data action to look up the actual value and even though the actual value decreased the Call.PositionInQueue never decreased?

    MelissaBailey | 2022-01-20 16:36:28 UTC | #4

    Less than 10 minutes. What do you have in your flow? Is it looping around or do you have really long actions in it?


    system | 2022-02-20 16:36:45 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 13250