Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Attributes in Screen Pop

    Posted 10-26-2018 17:21
    No replies, thread closed.
    ​In short I am trying to display the customer's IVR Language choice on the screen-pop for the agent.  I have an attribute for Language defined in the Inbound Call Flow in Architect.  This works as it drives the language prompts.  I am trying to figure out what I create in the Script Editor to display the Language in the screen-pop.  I tried a custom string variable that does not seem to work.  Any insight would be appreciated.
    #ArchitectureandDesign
    #Omni-ChannelDesktop/UserInterface

    ------------------------------
    Kelly Wilson

    ------------------------------


  • 2.  RE: Attributes in Screen Pop

    Posted 10-26-2018 17:55
    No replies, thread closed.
    If memory serves, in the past I have set a string variable in the Architect flow, and created an Input variable in the script to receive it. Then, in the Set Screen Pop action in the Architect Flow I just assigned the string variable to the appropriate Input field for the script.

    ------------------------------
    George Ganahl CCXP, GCA
    Principal Program Manager
    Genesys
    ------------------------------



  • 3.  RE: Attributes in Screen Pop
    Best Answer

    Posted 10-28-2018 10:45
    No replies, thread closed.
    Here are snaps of what @George Ganahl has mentioned.



    In script.
    in Script
    ​When you click on the variable name shown in right side of above image e.g. language, you will get below where you can select if this variable is input/output.. in your scenario it will be input.
    variable type

    ------------------------------
    Cheers,
    Sajid Abbas Malek
    Al-Futtaim Technologies - Dubai
    ------------------------------



  • 4.  RE: Attributes in Screen Pop

    Posted 10-29-2018 08:27
    No replies, thread closed.
    Thank you, @Sajid Abbas. I was too lazy to set it up again and take screenshots :-)​

    ------------------------------
    George Ganahl CCXP, GCA
    Principal Program Manager
    Genesys
    ------------------------------



  • 5.  RE: Attributes in Screen Pop

    Posted 10-29-2018 10:35
    No replies, thread closed.
    ​Sajid,  @George Ganahl Thanks for you prompt replies very helpful I have it working.

    ------------------------------
    Kelly Wilson
    Aria Solutions
    ------------------------------



  • 6.  RE: Attributes in Screen Pop

    Posted 10-29-2018 11:57
    No replies, thread closed.
    Great to hear! Thanks for letting us know.

    ------------------------------
    George Ganahl CCXP, GCA
    Principal Program Manager
    Genesys
    ------------------------------



  • 7.  RE: Attributes in Screen Pop

    Posted 10-31-2018 14:17
    No replies, thread closed.
    ​One follow-up.  I assume in Architect you have to use the Update Data Option vs. Set Participant Data to have data collected or set from the Inbound Call Flow be usable in the Script..  With Update Data I was able to set the Variable in the Script but not with Participant Data.  In reading the differences between the two is seems like Set Participant Data would be the better choice as it persists beyond the flow and can be used for other functions such as screen-pop.

    If I am forced to use the Update Data Option I see scenarios where I have to use Update Data and Set Participant data to add similar data to a call but for different downstream uses, this would be unfortunate.

    ------------------------------
    Kelly Wilson
    Aria Solutions
    ------------------------------



  • 8.  RE: Attributes in Screen Pop

    Posted 10-31-2018 14:37
    No replies, thread closed.
    Kelly, just to make sure we are all on the same page...when you refer to a "screen-pop", exactly which functionality do you mean?

    For example, the Participant Data can only be used with integrations such as PureCloud for Salesforce or PureCloud for Zendesk.

    ------------------------------
    George Ganahl CCXP, GCA
    Principal Program Manager
    Genesys
    ------------------------------



  • 9.  RE: Attributes in Screen Pop

    Posted 10-31-2018 17:31
    No replies, thread closed.
    The Update Data action doesn't affect the script.  It's use to create or update a variable for use in the currently executing flow.  You can pass the Architect variable's value to the script in one of the script's input variables if you want.  The Set Participant Data action is used to save data for use when you transfer between flows-- a variable created by an Update Data action in flow1 will not exist in flow2 unless you also create it in that flow and use the Get Participant Data action to fetch the value.  The agent's UI also happens to look at participant data to decide which script to use.  This is why you can use the Set Participant Data action to "send" data to the script--if you choose an attribute name with the same name (case matter!) as a script input variable, it will be read & used by the script.

    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 10.  RE: Attributes in Screen Pop

    Posted 11-01-2018 14:29
    No replies, thread closed.
    @Kelly Wilson I tried what Melissa describes,

    1. I set up an Input variable named "Dollars" in my script​ (Integer data type)
    2. I added a Set Screen Pop action to a Task in my Inbound Call Flow and selected that script
        a. I left the value for that Input set to "No value specified"
    3. I used a Set Participant Data action to create an attribute named Dollars (must be the same spelling and case as the script variable name) and set a value of "1000" (since all such attributes take a string value)
        a. Note that the string value for the attribute must "match" the data type in the script. Meaning, if the data type in the script is a string then the attribute value has to be able to convert to a string. If Integer, then it has to be able to convert to integer without error. If Boolean, it has to be "true" or "false".

    When the script popped, my Integer field in the script properly read 1000.

    Another Note - the Set Participant Data action must come after the Set Screen Pop, so that the attribute will overwrite the value set in the background by the Set Screen Pop action.


    All that is to say that you don't have to use a variable or an Update Data action in addition to the Set Participant Data for a screen pop - you can use just the participant data attribute.

    ------------------------------
    George Ganahl CCXP, GCA
    Principal Program Manager
    Genesys
    ------------------------------