Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-19-2023 08:25
    No replies, thread closed.

    Hey guys, 

    I'm trying to create a very basic script to make available to our agents that they can follow when receiving calls. A basic checklist of items to cover within the call. I'd like the agents to simply 'tick-off' the listed items as they work their way through the script, nothing more complicated than that. 

    My question is, within GCCX script configuration, why does a simple check-box require a mandatory variable? Doesn't make sense to me. Possibly missing something here. 

    Regards. 


    #ArchitectureandDesign

    ------------------------------
    Matthew Tipler
    News Team Group
    ------------------------------



  • 2.  RE: GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-20-2023 09:17
    No replies, thread closed.

    Hi Matthew,

    a checkbox represents a bloean value. There has to be a variable, so that you can work with that choice of the user. There is no way to access the value of the checkbox itself.
    So if you - for example - have a checkbox "Customer gives opt in for e-mail" you store that choice in a bolean variable "emailOptIn", so you can store it in databases or use it in dynamic variables.

    I hope that helps
    Best regards
    Christoph



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------



  • 3.  RE: GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-20-2023 09:17
    No replies, thread closed.

    Hi Matthew,
    The checkbox itself is just a optical element. You can't access its value directly. The variable you add to "value" is the representation of the checkbox-value.
    For example: If you have a checkbox "customer gave opt in for email" you store that choice in a bolean variable "optInEmailGiven". That value you can store in databases or in dynamic variables.
    If you want to use checkboxes without using the data just add a dummy variable.

    Best regards
    Christoph



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------



  • 4.  RE: GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-20-2023 09:17
    No replies, thread closed.

    Hi Matthew,
    The checkbox itself is just a optical element. You can't access its value directly. The variable you add to "value" is the representation of the checkbox-value.
    For example: If you have a checkbox "customer gave opt in for email" you store that choice in a bolean variable "optInEmailGiven". That value you can store in databases or in dynamic variables.
    If you want to use checkboxes without using the data just add a dummy variable.

    Best regards
    Christoph



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------



  • 5.  RE: GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-20-2023 09:17
    No replies, thread closed.

    Hi Matthew,

    I guess the "why" is a design decision since it sets the variables true/false so you can makes checks on them and store/send the values.

    You can just create a variable for each box, and as long as you don't enable output on the variable it shouldn't be stored anywhere.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 6.  RE: GCCX Scripts - Checkboxes... Stupid Question.

    Posted 12-21-2023 10:55
    No replies, thread closed.

    It sounds like you will want to use the variable as a part of you script checkng anyway in the following way

    • You have 5 check boxes
    • Set a variable for each one (call them check1, check2, ...)
    • do not allow script to be completed unless check1 through check5 are true, that is all check boxes are ticked.


    ------------------------------
    Bruce Dunn
    Department of Technology & Information
    State of Delaware
    ------------------------------