Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: ekobyakov on June 10, 2019, 03:38:51 AM

Title: geneysis widgets webchat office hours
Post by: ekobyakov on June 10, 2019, 03:38:51 AM
Hi guys

I wonder if there's ny example to do the following:
- webchat button to be visible only during the times agents connected to the system.

Is there settings for that? API calls available to check if chat service is available? I could not find anything on https://docs.genesys.com/Documentation/GWC/8.5/WidgetsAPI/WebChatService available

Thanks for any help.
Title: Re: geneysis widgets webchat office hours
Post by: cavagnaro on June 10, 2019, 03:47:52 AM
no...maybe in the jscript that loads the widget itself, just a function to control the hours at load event
Title: Re: geneysis widgets webchat office hours
Post by: Kubig on June 10, 2019, 10:26:43 AM
In case you are using GMS, you can call GMS API for Working Hours (Calendar API) and show the button based on that condition
Title: Re: geneysis widgets webchat office hours
Post by: ekobyakov on June 10, 2019, 08:42:22 PM
[quote author=cavagnaro link=topic=11352.msg51752#msg51752 date=1560138472]
no...maybe in the jscript that loads the widget itself, just a function to control the hours at load event
[/quote]

yeah can do that, but we operate in different time zones over few countries and that solution was not perfect in the past.
Title: Re: geneysis widgets webchat office hours
Post by: ekobyakov on June 10, 2019, 08:43:28 PM
[quote author=Kubig link=topic=11352.msg51754#msg51754 date=1560162403]
In case you are using GMS, you can call GMS API for Working Hours (Calendar API) and show the button based on that condition
[/quote]

Thanks, I asked admins to check if we are working with GMS and if working hours are set-up.
Title: Re: geneysis widgets webchat office hours
Post by: Rutger on June 11, 2019, 08:55:13 AM
We have a server running in between of the website and Genesys, that is grabbing the ParameterGroup data from GAX/SQL to check what the openinghours are. Based on this, the widget button is shown on the website or not.