Sr. Principal Consultant Cloud CX
Original Message:
Sent: 06-07-2023 17:47
From: Anton Vroon
Subject: ACD Call Distribution
An easier way to get odd/even is just % 2 (mod 2) if the result is 0 then even otherwise it is odd.
Eg Flow.callcount %2 == 0
Would be true if even, and false if odd.
------------------------------
Anton Vroon
Original Message:
Sent: 06-07-2023 06:39
From: Dean Thames
Subject: ACD Call Distribution
Raghavapvds, the solution noted by Lawrence would require a data table, a function in your flow to reference the data table, and then a data action to increment the value of the data table row on a per call basis.
So, if the data table row had headers of index & integer, it may have values of call & 1 at the start
In your flow, you would check that data table for an index of "call" and then return a value of 1 into a variable you could then work with... say "flow.callcount" You could then perform a math function on that value to determine if it's even or odd.... basically by dividing it by two (flow.callcount/2) and putting that result into another variable (flow.callcountEvenOrOdd) and seeing if it has a decimal place. There are several ways to do this, but running a "contains" function on that result as a string would work: Contains(ToString(Flow.callcountEvenOrOdd), ".") The result of that would be a boolean true/false value you could route against.
After that, you would use a data action to increment the integer value in your data table by one. The process would repeat for each call.
------------------------------
Dean Thames
Sr. Principal Consultant Cloud CX
Original Message:
Sent: 06-07-2023 05:49
From: Raghavapvds pvds
Subject: ACD Call Distribution
Lawrence Drayton
Could you please share your flow for our reference
------------------------------
Raghavapvds
Original Message:
Sent: 06-06-2023 18:09
From: Lawrence Drayton
Subject: ACD Call Distribution
I've had this from a client before and had the need for it to be 100% equal and were not wanting to leave it to randomness (Though I agree with Dean that his solution works and is the easiest)
In my case I had to get a bit complex and have a data table with a key of "call" and then an integer assigned to it. eg 1. Then a data table look up to see what the current value was, a decision based on odd or even number that would take path a or b, and then a data action to increase that integer by 1. When the call was odd it went path a, even path b.
Even this is not 100% (but was 99.9% lol) in the case you got a call that came through at almost exactly the same time when the processing hadn't been completed. Depending on your clients I would go with Deans solution but if they were as stringent as mine I would be happy to help/share my old flow for that
------------------------------
Lawrence Drayton
Prvidr Pty Ltd
Original Message:
Sent: 06-06-2023 09:03
From: Raghavapvds pvds
Subject: ACD Call Distribution
Dear Team, I have a requirement from client as below. we have 2 queues and need to distribute the calls between 50,50 among them,
Please let me know the availability options to fit these requirement.
#Routing(ACD/IVR)
------------------------------
Raghavapvds
------------------------------