Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Optimizing Time-Based Call Flows: Automating On-Hold Messages and Music Transitions

    Posted 03-31-2025 06:00
    No replies, thread closed.

    hi everyone,


    I recently discovered an excellent post https://community.genesys.com/discussion/flow-decision-after-actual-time-in-queue-threshold-is-reached about setting up a time-based threshold in a flow to redirect calls to voicemail.

    The setup worked flawlessly-I was able to configure a callback after a specified number of minutes. This got me thinking: is it possible to automate the flow so that it plays on-hold messages for a defined period and then transitions seamlessly to hold music, based on the set threshold?

    I understand that manually configuring this involves calculating the duration of on-hold messages in advance, with the remaining time dedicated to hold music to meet the threshold. 

    It would be helpful to learn how others are setting up their flows and handling similar configurations.


    #Routing(ACD/IVR)

    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    Monash University
    Australia
    ------------------------------


  • 2.  RE: Optimizing Time-Based Call Flows: Automating On-Hold Messages and Music Transitions

    Posted 03-31-2025 07:46
    No replies, thread closed.

    I think I've resolved the issue. I created a loop followed by a decision step with the following logic:

    If(
      DateTimeDiff(GetCurrentDateTimeUtc(), Flow.StartDateTimeUtc) >= MakeDuration(0, 0, ToInt(Task.maxQueueTime), 0),
      true,
      false
    )

    If the condition evaluates to true, it will offer a callback. If it evaluates to false, it will play hold music instead.

    This ensures the callback option is only presented after the specified queue time has been exceeded, otherwise, the user stays on hold.

    Hopefully this will work.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    Monash University
    Australia
    ------------------------------



  • 3.  RE: Optimizing Time-Based Call Flows: Automating On-Hold Messages and Music Transitions

    Posted 03-31-2025 08:12
    No replies, thread closed.

    It didn't work as expected-the music played indefinitely because I didn't specify the duration time. If anyone knows how to fix this, please let me know.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    Monash University
    Australia
    ------------------------------



  • 4.  RE: Optimizing Time-Based Call Flows: Automating On-Hold Messages and Music Transitions
    Best Answer

    Posted 03-31-2025 09:56
    No replies, thread closed.

    Change the play style to play for duration and set however long you want it to play.

    https://help.mypurecloud.com/articles/hold-music-action/



    ------------------------------
    Melissa Bailey
    Software Engineer
    ------------------------------



  • 5.  RE: Optimizing Time-Based Call Flows: Automating On-Hold Messages and Music Transitions

    Posted 03-31-2025 15:23
    No replies, thread closed.

    Thank you, Melissa, it worked perfectly!

    I set up a loop (99), followed by a decision for threshold, then added hold music for 1 minute. I included a few hold messages, followed by another decision to recheck the threshold. Once the threshold was reached, the loop exited.

    This resolved the issue-thanks again!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    Monash University
    Australia
    ------------------------------