Thanks, that does work.
It becomes a lot of IFs for one variable, but guess that's the only way to do it to avoid unexpected behavior.
Original Message:
Sent: 03-27-2023 09:32
From: Melissa Bailey
Subject: Decisions Using EWT in Architect
You can do a not set check in the first expression. Use true or false depending on what default behavior you want when the EWT couldn't be found.
If(IsSet(Call.EstimatedWaitTime), Call.EstimatedWaitTime > MakeDuration(0,0,3,0), true)
------------------------------
Melissa Bailey
Genesys - Employees
Original Message:
Sent: 03-25-2023 12:22
From: Jan Heinonen
Subject: Decisions Using EWT in Architect
There are some quirks on Call.EstimatedWaitTime which makes it bad to use.
If no agent is logged into the queue it doesn't get set and can actually cause the flow to fail is used in a Decision containing for example
Call.EstimatedWaitTime > MakeDuration(0,0,3,0)
GetQueueEstimatedWaitTime(Call.CurrentQueue, "call") works in these scenarios.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
Original Message:
Sent: 03-24-2023 12:04
From: Ryan Cheesman
Subject: Decisions Using EWT in Architect
Most of the responses here are valid for inbound call flows, but if you are needing to make decisions within an inqueue call flow, then all you need to is to reference the built in Call.EstimatedWaitTime. No need for a data action at all.
Try it out by doing something like this. Not pictured here, but I also output this data as an external tag, but also to participant data. There are no inbuilt reports or tools to use to check for EWT accuracy trends, so we put it there then extract it via PowerBI to plot actual vs. estimated. Last year, before the improvements it was pretty far off for us a lot of the time. Its sweet spot was sub 5-minute wait times with volume. It is much better now, but I would do sanity check on it as it may not be very accurate during certain intervals.

------------------------------
Ryan Cheesman
Senior Manager, IT Integration Services
Tandem Diabetes Care Inc. | positively different
Original Message:
Sent: 03-23-2023 13:28
From: Nichole Conway
Subject: Decisions Using EWT in Architect
Hi all,
Our agency wants our in-queue flow to take a certain action if the estimated wait time is over an hour. I'm using the Get Estimated Wait Time data action but every time it gets to that point in the flow, it hits an error and disconnects. Below is how I have the action set up. Any ideas would be helpful!

#ArchitectureandDesign
#Integrations
#Routing(ACD/IVR)
------------------------------
Nichole Conway
State of Missouri - Family Support Division
------------------------------