Hi,
I apologize in advance, but you will likely see a few messages like this from me in the next day or two. I want to keep each message thread separate!
Many of you may not realize that Genesys has an Ideas website (Aha!) which, whilst not perfect (see various posts from me and others on THAT subject!) is the main method we have for requesting features / enhancements. If you don't frequent the site, you may miss some of the cool ideas that get proposed.
In this post, I'd like to draw your attention to this idea.
The Switch operation in Architect operates in two ways. It can behave like the Selection Tool in PureConnect Handlers (basically, cascaded Conditions, where each Case is independent of the others) or it can behave like a traditional Switch / Case construct where an expression is compared to a series of values.
There are times, however, where the latter case is desirable, but there are multiple values that lead to the same end result. In text languages, this would look like:
Switch (Value){
case "A":
case "B":
perform some action
break
case "C":
case "D":
perform some other action
break
default:
a third something
break
}
So values "A" and "B" have the same result, as do "C" and "D".
This idea is therefore to allow multiple values to be added to a single case when operating in "Traditional Switch Case" mode. This can be achieved by configuring the operation in the first mode, and have
Value=="A" or Value =="B"
as the condition, but if only one or two cases of a larger Switch/Case require multiple values, then it's unnecessarily complex. The only way you have of seeing the whole condition is to open up the main expression editor.
It also means that if you have a traditional Switch/Case operation, and then need to add a second condition, you have to convert the whole thing.
Finally, it would behave like experienced programmers will expect.
Thank you!
#ArchitectureandDesign#Roadmap/NewFeatures#Routing(ACD/IVR)------------------------------
Paul Simpson
Views expressed are my own and do not necessarily reflect those of my employer.
------------------------------