Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Make a decision based on Estimated Wait Time

    Posted 11-16-2020 13:59
    Edited by Harisson Tonieto 11-16-2020 14:00
    Hello everyone,

    I'm tying to make a decision based on EWT value, e.g.:

    • Value is more than 2 minutes >    Create a callback.
    • Value is less than 2 minutes   >    Play EWT + hold music.

    Currently i'm using this expression, but isn't working.

    IsNotSetOrEmpty(Call.EstimatedWaitTime) or Call.EstimatedWaitTime > MakeDuration(0, 0, 2, 0)​


    #ArchitectureandDesign
    #Routing(ACD/IVR)

    ------------------------------
    Kindly regards,
    Harisson Tonieto
    Brasil Foods
    ------------------------------


  • 2.  RE: Make a decision based on Estimated Wait Time
    Best Answer

    GENESYS
    Posted 11-16-2020 14:03
    Instead of MakeDuration() I use ToDuration()

    For example, ToDuration("PT120S") for 2 minutes. See the help in Architect for the ToDuration() expression

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal PS Consultant
    Genesys
    ------------------------------



  • 3.  RE: Make a decision based on Estimated Wait Time

    Posted 11-16-2020 14:37
    Thanks for the tip George.

    That solved the problem.

    ------------------------------
    Harisson Tonieto
    Brasil Foods
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources