I'm facing a scripting problem on ICM 7 which someone else might already found a solution before.
I need to create a script that collects various inputs from the caller with microapps, performs a DB lookup, changes the call type based on the previous inputs and sends the call to a queue based on caller input and DB content.
Changing the call type is a management requirement for having granular Webview stats on call handling.
My problem is that I have no idea how to implement this in a nice way.
I'm expecting having hundreds (maybe thousands) of call types, so adding IF+CALLTYPE nodes for each one of them doesn't seem to be an option.
Returning a label dynamically generated by the script and triggering a second queueing scrip by that is problematic as well as I need to preserve information from the caller.
I wish there would be a dynamic call type node.... or a way of accessing call type as a variable with a SET node.
Maybe this should be approached in a completely different way. I don't know.
Any thoughts on this would be greatly appreciated.