Skip to main content


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

Initializing the adapter

Updated on October 7, 2021

Use Pega Platform 8.6 integration resources such as REST or SOAP or JAVA connectors and services to send requests to the CTI server to authenticate and subscribe for events.

The OpenAdapter activity is invoked when the user (CSR) attempts to log in to the toolbar. It is used to perform any initialization that is required. You can override and implement this activity to perform any initialization required for your adapter. However, if you do not require initialization for each user then you need not implement this activity.

Optionally, you can use 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 Dev Studio, search for the OpenAdapter activity in the OpenCTI adapter class.
  2. Copy the activity into the implementation class created for the new adapter.
    This activity will be called when the adapter is first used.
  3. On the activity page, add steps that is required for the adapter.
  4. Optional: In Dev Studio, search for the CloseAdapter activity in the OpenCTI adapter class.
  5. Optional: Copy the activity into the implementation class created for the new adapter.
  6. Optional: 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