Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Participant Attributes in Scripts

    Posted 09-12-2018 11:28
    No replies, thread closed.

    Hi All,
    I have a call flow, where the caller is asked to input 4 digits. I then use a 'Set Participant Data' action to save these 4 digits on the participant with the view to pull these in to my Script.
    I've looked through the Resource Centre, but can't find anything that shows how to pull Participant Data into Scripts.

    Anyone have any idea, how to get the Participant Data in a Script? Or is this not an available feature?

    Thanks,

    Craig



    ------------------------------
    Craig Stevenson
    QPC
    ------------------------------


  • 2.  RE: Participant Attributes in Scripts

    Posted 09-12-2018 11:31
    No replies, thread closed.
    Set them as an input variable to the script.
    https://help.mypurecloud.com/articles/script-input-output-variables/

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



  • 3.  RE: Participant Attributes in Scripts

    Posted 09-12-2018 11:44
    No replies, thread closed.

    Thanks Melissa,

    I use 'Set Participant Data' in my call flow, with an attribute name of StrAttr_PIN_Number and add the value stored in the variable Task.PIN_Input.

    In my script, I have a string variable named 'PIN_Number' defined as both Output and Input, but can't work out how to get the value of the 'StrAttr_PIN_Number' attribute set the call flow into the 'PIN_Number' variable in my script.



    ------------------------------
    Craig Stevenson
    QPC
    ------------------------------



  • 4.  RE: Participant Attributes in Scripts
    Best Answer

    Posted 09-12-2018 11:53
    No replies, thread closed.


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



  • 5.  RE: Participant Attributes in Scripts

    Posted 09-12-2018 12:02
    No replies, thread closed.
    Thanks Melissa, this is the bit I was missing.. setting the screen pop!! Sorted now... cheers.

    ------------------------------
    Craig
    ------------------------------