Skip to main content


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

Handling Errors

Updated on October 7, 2021

If an error occurs during a CTI toolbar request, such as hold, answer, and make call, an error message is displayed on the user's desktop.

When an error occurs on the request in the OpenCTI adapter implementation:

  1. Using the Activity-Set-Status method in the activity, handle the error message.
  2. Copy the error message to pyStatusMessage and pyPegaCTIError.
  3. Set the Severity to Fail and enter the error message in the Message field.
    Result: The error message in the Message field is displayed on the user’s desktop.
  4. Exit the request activity after the error is encountered and the Activity-Set-Status is performed.
    Any extra error information can be sent to the logs.
Result: For events received from the CTI server, errors are written to the Pega Platform 8.6 logs and the event processing is aborted.

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