11-16-2021 05:40 AM
Hello DevNet Experts,
We are running Finesse 11.6 version and I have CRM Siebel/C360 integrated inside Finesse as an iFRAME. SO, when agent logs into Finesse, we also make the agent login into Siebel C360 which gets launched inside Finesse as an iFRAME. When call comes in, our code triggers the Siebel C360 to render with the caller information.
Now, the issues we are seeing are as below. For what ever reason, if Finesse "Automatically gets reloaded" i.e. due to a browser refresh and/or finesse failover etc, the Siebel C360 inside iFRAME gets to a blank page. Inorder to solve this, I am trying to check on a few attributes, to have teh Siebel C360 get to its home page. I am trying to get the Client Services getNotificationState and a State of Finesse anything other than Notready code id -1. Whenever there is an automatic failover, I did see getNotificationConnectionState is going to "Connected" state. But, from my custom code, whenever I use "
finesse.clientservices.ClientServices.getNotificationConnectionState()" the code stops working. Can I get some help in this regard?
Thanks,
Santhi
Solved! Go to Solution.
11-16-2021 08:42 AM
Hi,
When you are using the finesse.clientservices.ClientServices.getNotificationConnectionState() method, is the ClientServices already initiated?
I suggest using the browser's developer tool and adding a breakpoint to see what the error is when it hits the finesse.clientservices.ClientServices.getNotificationConnectionState() method.
Thanx,
Denise
11-17-2021 08:45 AM
Hi,
The init function does not have a return so using finesse.clientservices.ClientServices.getNotificationConnectionState() is the correct way. Did you use the browser's debugging to see what happens when this method is called? What is the error?
Thanx,
Denise
11-22-2021 09:47 AM
11-22-2021 11:49 AM
11-16-2021 08:42 AM
Hi,
When you are using the finesse.clientservices.ClientServices.getNotificationConnectionState() method, is the ClientServices already initiated?
I suggest using the browser's developer tool and adding a breakpoint to see what the error is when it hits the finesse.clientservices.ClientServices.getNotificationConnectionState() method.
Thanx,
Denise
11-17-2021 05:29 AM
11-17-2021 08:45 AM
Hi,
The init function does not have a return so using finesse.clientservices.ClientServices.getNotificationConnectionState() is the correct way. Did you use the browser's debugging to see what happens when this method is called? What is the error?
Thanx,
Denise
11-22-2021 09:47 AM
11-22-2021 11:20 AM
Hi,
Using the browser's debugger with a breakpoint, I was able to see that finesse.clientservices.ClientServices.getNotificationConnectionState() is undefined at the location in your pasted code. That is why nothing gets executed after.
It doesn't appear that the function works until the gadget is fully loaded. When I use it in the below code, I see it is "connected"
containerServices.addHandler(finesse.containerservices.ContainerServices.Topics.ACTIVE_TAB, function() { clientLogs.log("Gadget is now visible"); // log to Finesse logger var connectionState = finesse.clientservices.ClientServices.getNotificationConnectionState(); clientLogs.log("connectionState is: " + connectionState); // automatically adjust the height of the gadget to show the html gadgets.window.adjustHeight(); });
Thanx,
Denise
11-22-2021 11:49 AM
11-22-2021 12:53 PM
Hi,
Thank you much. Can you please tell me if there is any specific event that distinguishes between a manual refresh and an automatic load of finesse ( and failover)??
Not that I'm aware of. During failover, the SystemInfo event will show that the Finesse system goes OUT_OF_SERVICE before the container switches to the other node (when the red banner is showing), but that is about it.
Thanx,
Denise
11-23-2021 09:56 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide