I agree with
@Jeff Hoogkamer that a notset or blank value could cause that behavior. If I recall correctly, one scenario that can cause the value to be null or empty is if there are no agents signed into the queue in question.
------------------------------
Waqar M
Herbalife International of America, Inc.
------------------------------
Original Message:
Sent: 06-30-2021 03:58
From: Jeffrey Hoogkamer
Subject: EWT Genesys Cloud
If this is in a In Queue flow - Call.EstimatedWaitTime may not always be populated with a value (it may be NOTSET or blank) and will potentially error at this step if it's not handled.
If you're wanting to do custom EWT and not use the out of the box 'Play Estimated Wait Time', you may need to add a condition/expression to handle this e.g. add a Decision step to check IsNotSetOrEmpty(Call.EstimatedWaitTime)
Possible reasons for it not to have a value can be:
- there is no wait time as agents are on queue and activated
- there is no prior data in the last 30 minute interval to calculate a valid time from
------------------------------
Jeff
------------------------------