+ 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