Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Initializing the OpenCTI adapter

Updated on December 28, 2022

Implement the OpenAdapter and the CloseAdapter activities to configure initialization and shutdown of the OpenCTI adapter.

The OpenAdapter activity is invoked when the CSR attempts to log in to Pega Call.

You can override and implement this activity to perform any initialization required for your adapter. If you do not require initialization for each user then you don't need to implement this activity.

Optionally, you can use the CloseAdapter activity to perform any clean up activity on the adapter.

Note: The OpenAdapter and the CloseAdapter activities are called only once per user to allow the adapter to do any adapter-specific setup or shutdown.
  1. In the header of Dev Studio, search for the OpenAdapter activity in the OpenCTI adapter class.
  2. Copy the activity into the implementation class that you created for the new adapter.
    This activity is called when the adapter is first used.
  3. On the Activity page, add the steps that are required for the adapter.
  4. To search for the CloseAdapter activity in the OpenCTI adapter class, in the header of Dev Studio, enter CloseAdapter in the search box.
  5. Copy the activity into the implementation class that you created for the new adapter.
  6. On the Activity page, add any clean-up or shut-down steps required for the adapter.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us