function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yogesh Kumar 10Yogesh Kumar 10 

Multiple tab problem with OpenCTI

I have adapter based on OpenCTI. The problem is, if agent open multiple tabs then single action multiple. 

For example We need to save activity when call ends but when two tabs are opened of salesforce page then two activity will be created.

This must be one of the very common issue everyone would have faced with openCTI? Is there any design pattern/ solution to handle this problem with OpenCTI?

 
Kevin GlinskiKevin Glinski
a couple ways to solve this, but they boil down two the two tabs needing to communicate with eachother so only one does the call log saving or screen popping.  This can be tracked serverside or client side using localstorage or cookies.