Hi,
any ideas how to build either 50/50 or adjustable %-routing in PureCloud?
The need is to route calls to internal queue or to external service provider in adjustable ratio or 50/50.
Has anyone bumbed similar issue and solved it?
-Kimppis-
Hi,
any ideas how to build either 50/50 or adjustable %-routing in PureCloud?
The need is to route calls to internal queue or to external service provider in adjustable ratio or 50/50.
Has anyone bumbed similar issue and solved it?
-Kimppis-
Hi Kimppis, one approach is using the seconds or milliseconds value of the UtcFlowStartTime variable (please look up the exact var name...). You can use modulus division by 2 (or any number N) to get a semi-random value between 0 and (N-1), then route based on that number or a range of numbers with switch/case.
You could also use a Data Action to get a random value, though this introduces a dependency on a REST service.
Just a heads up, this forum is for questions and discussions regarding API usage and customizations. General PureCloud configuration and usage questions are better suited for the PureCloud Community Forum.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.