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:
- Using the Activity-Set-Status method in the activity, handle the error message.
- Copy the error message to pyStatusMessage and pyPegaCTIError.
- 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.
- 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.