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
------------------------------
Original Message:
Sent: 11-16-2020 13:59
From: Harisson Tonieto
Subject: Make a decision based on Estimated Wait Time
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
------------------------------