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
David Zhu 🔥David Zhu 🔥 

Open CTI call searchAndScreenPop

Hi there,
We have a open CTI managed package installed in our testing org. We have use the softphone to pickup the call, phone number/callerID are displayed on the soft phone layout.
There is a requirement that when call comes in, we need to retrieve the phone number and call ID, put them into a screen flow. The call center reps use the flow to create a case.

I found this post and it seems it does what I need.  Basically it uses sforce.opencti.searchAndScreenPop to open the flow,
https://salesforce.stackexchange.com/questions/234922/using-flowargs-from-open-cti-searchandscreenpop

In the soft phone layout, screen pop setting can hook the flow, but it does not give me chances to pass flowArgs.
Where should I call the flow using code in the post?

Thanks,
David