Build the list in Interaction Administrator first so you don't have to.
You just use handler tools to replace the handler value with a list of string when you want to update it, based on the list you already pulled from the structured parameter.
State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
Original Message:
Sent: 11-12-2024 10:30
From: Ryan Acovski
Subject: Customer handler with cycling phone number on a weekly basis
What's the best way to get the phone numbers into a multi-string object? I'm trying to use a InsertatHead operation but I'm not sure it's the correct way to do it, not can I figure out how to format the phone numbers I need into a string. Trial and error will get me there but if you know the syntax required to get the string working, that would be great.
Also, do I need to retrieve the list into an attribute so the call flow reads that and sends the call to the correct place?
Thank you.
------------------------------
Ryan Acovski
NA
Original Message:
Sent: 11-12-2024 09:34
From: Aaron Lael
Subject: Customer handler with cycling phone number on a weekly basis
This can be done with handlers and a structured parameter.
You put all of the phone numbers in the order of your choosing in a multi string object in a structured parameter.
You retrieve this list in a handler and iterate through with a place call step, breaking the loop on your success condition dependent on business logic.
For your update, use a handler running on a timer initiator to retrieve the list of string from your structured parameter, get the value at the head of the list, remove the value at the head of the list, then reinsert the value at the tail of the list. Finally, write that back to your structured parameter.
------------------------------
Aaron Lael
State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
Original Message:
Sent: 11-11-2024 09:52
From: Ryan Acovski
Subject: Customer handler with cycling phone number on a weekly basis
Hello!
I'm not sure if anyone has done this before, but I essentially want to set up a customer handler that does the following:
When option 2 is selected in an IVR, a phone number is called which is defined from a list of numbers. If the first number does not answer within 30 seconds, it calls the next number down the list and keep looping the list until someone picks up. Every Monday at 9AM, the number at the top of the list goes to the bottom, and then the rest move up one space.
Is this possible to achieve?
Any help will be appreciated :)
#Handlers
------------------------------
Ryan Acovski
NA
------------------------------