Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Screen pop URL with dynamic value

    Posted 05-17-2021 15:58
    I'm having issues with a script I'm trying to build that I'd like to get some help with. Here's what I've so far:

    1. I created a script with the following:
    a. Custom variable "ConversationID" set to input.
    b. Open URL action that launches "https://bing.com/search?q={{ConversationID}}". This script was selected as the inbound call script for my test queue.

    2. In Architect, I added a Screen Pop Action to my call flow that's using the "Call.ConversationId" and passing that as the ConversationID as the input.

    My question is what format do I need to pass the ConversationID from Architect to the script in? I've tried converting it using ToString, an expression, and literal. So far all have failed to launch the site and search Conversation ID.

    If I change the variable in the script that's being passed to {{Script.Agent Name}}, it will successfully launch the page and search for the agents' name so conceptually it appears to work.


    #ArchitectureandDesign
    #SystemAdministration

    ------------------------------
    Maurice Ford
    ------------------------------


  • 2.  RE: Screen pop URL with dynamic value

    GENESYS
    Posted 05-17-2021 16:29
    Scripter has a built in variable for the conversation id, {{Scripter.Interaction Id}}, you don't need to pass it from the flow.
    https://help.mypurecloud.com/articles/built-in-script-variables/

    In the flow, Call.ConversationID is already a string, you don't need to ToString it.

    The Screen Pop Script set in Architect should override the script you selected as the default script on the queue, as long as you execute that action before the Transfer to ACD in your flow.

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



  • 3.  RE: Screen pop URL with dynamic value

    Posted 05-17-2021 16:59
    Got it. Thank you very much for the prompt response and guidance.

    Do you know if there is a link of call attributes similar to the link you provided for script attributes?

    ------------------------------
    Maurice Ford
    ------------------------------



  • 4.  RE: Screen pop URL with dynamic value

    GENESYS
    Posted 05-17-2021 17:02
    https://help.mypurecloud.com/articles/architect-default-variables/

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



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources