Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Use Set Participant Data Attributes in Switch case

    Posted 07-28-2022 12:06
    No replies, thread closed.
    I am trying to use attributes, that were created using the "Set Participant Data" function, to make a decision using the "switch" logic.

     For example, when a call enters the flow, I set the "country" and "region" attributes based on the number they called into. 


    But I am not able to use those attributes later in the flow to make a decision. I don't get an error but it doesn't send the call to the correct case. 

    #ArchitectureandDesign

    ------------------------------
    Elizabeth Jenkins
    Zimmer, Inc.
    ------------------------------


  • 2.  RE: Use Set Participant Data Attributes in Switch case

    Posted 07-28-2022 12:21
    No replies, thread closed.
    Set participant data writes out those values onto the conversation object.  You can't use participant data values in a flow unless you fetch them using a get participant data action.  Since you're in the same flow, you don't even need to use set/get participant data at all.  Create variables in your flow to keep track of those values.

    Also, your switch is evaluating the literal string "Region" and comparing it to the other strings.  You want to evaluate the variable you create and see if it matches one of those values.

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



  • 3.  RE: Use Set Participant Data Attributes in Switch case

    Posted 07-28-2022 13:00
    No replies, thread closed.
    Thank you Melissa. How can I create these variables in my flow without using the Set participant data?

    ------------------------------
    Elizabeth Jenkins
    Zimmer, Inc.
    ------------------------------



  • 4.  RE: Use Set Participant Data Attributes in Switch case

    Posted 07-28-2022 13:09
    No replies, thread closed.
    Use the update data action.
    https://help.mypurecloud.com/articles/update-data-action/

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



  • 5.  RE: Use Set Participant Data Attributes in Switch case

    Posted 07-28-2022 14:47
    No replies, thread closed.
    Thank you so much!!!

    ------------------------------
    Elizabeth Jenkins
    Zimmer, Inc.
    ------------------------------