31 Schedules, I'm assuming then you have 1 for every day of the month.
Well instead you could just use this formulae
Day(Flow.StartDateTimeUtc)
To get the current day, so a number between 1-31
And then use that to determine the prompt, personally with that many prompts I would use a datatable instead of a switch, in the datatable key would just be the numbers 1 through to 31, and the second column would just be the prompt name. Then in my flow I would get that day of the month with the above formulae, use that as the key to look up the datatable to get the prompt name, then use the find prompt action to get the actual prompt.
EDIT: Or just have a hardcoded list of prompts and just use the index eg
Flow.Prompts[Day(Flow.StartDateTimeUtc)-1]
To get the prompt for the day.
------------------------------
Anton Vroon
------------------------------
Original Message:
Sent: 09-16-2022 14:51
From: Rechelle McConnell
Subject: Set multiple schedules and prompt in one Inbound Call flow
Hi,
I have to set up a Call flow with schedules and each schedule has it's own prompt.
I've created the 31 schedules and loaded the 31 wave files in the prompt. However, I am having difficult assigning them all in an Inbound Call flow.
Example:
I have 31 Schedules and each day will play different prompt and can also transfer to ACD and disconnect.
#ArchitectureandDesign
------------------------------
Rechelle McConnell
CHRISTIAN BROADCASTING NETWORK
------------------------------