Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PFCCWA on February 02, 2018, 05:26:59 PM
-
Hello
I am looking for docs to code up an action in agent script (v8.1.2) however nothing appears to exist to provide guidance.
At the moment the action will check if a field is blank (alert if so) or if completed, will write the value into a Key (then subsequently back into an outbound calling list).
What we want to achieve is that if a certain option is selected , then another field is made available to complete (with its own options).
I understand the use if 'IF' and able to create a code to provide the initial part ie
(this extract will pop up alert in softphone if the field is left blank)
...
IF (FIELD1) = " "
SET AlertString "FIELD IS BLANK!"
...
What I need is if the field1 option selected is "ABC" then populate another field (FIELD_OPS).
or if field1 option selected is "MNO" then populate field (FIELD_PRES).
Doesn't matter how the additional field is presented.
Also acknowledge I can just add the field to the right of FIELD1 but prefer some automation.
thanks,