General

The goal is to give the implementer new option to define custom value sets (aka enum) to be used in runtime across the system 

This value set will include any number of items and can be selected in all relevant menu sub contexts in Setup application 



Creating New Value Set 

In Setup application → implementation → custom value set 

adding new set and give it a descriptive name 


zoom into the new created set and add all required values 


At this point the after deploying the changes this value set is ready to use 

Real world example 

Continue the value set created for "VIP level" created above we will expose it to the agent, allow the agent to edit it and save the result to DB 


Create Interaction variable 

We will create new interaction variable to hold a value for customer VIP level

New interaction variable called CustomerVIPLevel


Create interaction display template 

Under business structure → display template 

Create new display template if it does not exist, for the example we can call it TestTplt

In the template create new field called "Customer VIP Level", mark to as save to DB and select the new interaction variable we just created earlier 


Assign the new template to a BP

Under business structure → navigate to any BP (for example Technical support) 

Select the new display template 


Deploy

Deploy all you changes and perform a call to technical support BP, once agent accept the call the new variable will be presented to the agent 

Agent can select one of the values defined in the value set and the information will be automatically sent to the server and saved to DB 





  • No labels