Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Scripts - on the "Answer" button

    Posted 12-09-2019 10:09
    Dears,

    I would like to ask if I can trigger an action after the agent clicks on the "Answer" button.

    More specifically, I am looking for popup a URL, but this only happens after the agent answers the interaction, as this a requirement from our client.

    Is this possible? Any ideas?

    Best regards,
    Ali Aljohani
    #Implementation
    #Integrations
    #PlatformAdministration
    #SystemAdministration
    #Unsure/Other

    ------------------------------
    Ali Aljohani
    Hadef Information Technology Co.
    ------------------------------


  • 2.  RE: Scripts - on the "Answer" button

    GENESYS
    Posted 12-09-2019 14:24
    One idea, perhaps it would work for you...

    Create a Custom Action.
    Use an If/Else to test whether the "Scripter.Interaction State" variable Equals "Connected" (use the Interpolated Text option, no quotes)
    For the Else portion add a Delay (I used 15,000 ms to wait past the queue alerting timeout), then the Scripter Open URL set to the URL I want to pop

    Something like:
    Set the custom action as the Page Load action on the first page of the script.

    That way while the call is alerting (before pickup) the URL will not pop, but will pop after the delay. If you set the Delay longer than the queue alerting timeout then the URL should not pop before the agent goes to Not Responding.


    ------------------------------
    George Ganahl GCP (PureCloud) ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 3.  RE: Scripts - on the "Answer" button

    Posted 12-10-2019 08:21
    Dear George,

    Thank you for your help and support.
    I will try it, and make sure to pass the alerting time.
    Because, I tested it before, but without making sure to pass the alerting time, so the browser was freezed.

    Thank you again,
    Best regards,
    Ali Aljohani

    ------------------------------
    Ali Aljohani
    Hadef Information Technology Co.
    ------------------------------



  • 4.  RE: Scripts - on the "Answer" button

    Posted 12-10-2019 02:24
    Dear Ali,

    Hope you are doing well.

    I have an idea it might work out, create a button(which triggers url) manually from the script and while defining the script properties there is some thing called page load action in properties, in the page load action enable the screen pop url or what ever variable you have defined. 


    if this is defined with opening url,as soon as the call starts alerting agent, the page load action also will be triggered.

    Hope its clear.

    Good day


    ------------------------------
    Teja Darbha
    Jathwa Technology Solution
    teja.darbha@jathwa.com
    Riyadh Saudi Arabia
    ------------------------------



  • 5.  RE: Scripts - on the "Answer" button

    Posted 12-10-2019 08:27
    Dear Teja,

    Hope this message finds you well.
    I appreciate your reply and help.

    "if this is defined with opening url,as soon as the call starts alerting agent, the page load action also will be triggered."

    But the requirement is that, the popup should not start until the agent click on "answer". I do not wanted to trigger as soon as the call starts alerting.


    Thank you very much,
    Best regards,
    Ali Aljohani

    ------------------------------
    Ali Aljohani
    Hadef Information Technology Co.
    ------------------------------



Need Help finding something?

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