Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  User vs. String Variable in Find User Action

    Posted 10-20-2022 15:39
    No replies, thread closed.
    I have a data table that has phone numbers in it, and based on the phone number, I have 3 columns each with one of the agents (users) email address.   I have a data action that looks up the phone number and gets the 3 agents (PA1, PA2, PA3 for preferred agent).  I have no trouble retrieving those values and can verify they are correct using the "set participant data" tool.  

    But I need to assign the agents that are PA1, PA2, and PA3 with different priorities - but when I try to assign the agents - using Update Data: User statement, it won't let me use PA1 since it is a string variable and not a user.  But you can't create a USER variable in a data table.

    How do you convert the variable from String to User?  I haven't been able to find anything either in the help docs, community, or google.

    Many thanks for anyone who might be able to help.
    #ArchitectureandDesign
    #Routing(ACD/IVR)

    ------------------------------
    Brenda Wynne
    Alcon Vision LLC
    ------------------------------


  • 2.  RE: User vs. String Variable in Find User Action

    Posted 10-20-2022 15:43
    No replies, thread closed.
    Use the FindUser expression if the string is the user's email address.  If it's the user's id, use the FindUserById expression.

    Expressions are documented inside architect
    https://help.mypurecloud.com/articles/architect-expression-help/

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