Skip to main content


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

Unsubscribing from events

Updated on October 6, 2021

You can use the UnSubscribeForEvents to unsubscribe from events.

The UnSubscribeForEvents is called to send the request to stop the event subscription for a device.

The following are the properties included in the UnSubscribeForEvents activity. You can see these properties on the adapter step page of the clipboard.

Properties of the SubscribeForEvents activity

PropertyDescription
DNThe device number on which the event is subscribed.
AgentIDThe agent ID logged in to the extension.
  1. In header of Dev Studio, search for the UnSubscribeForEvents activity in the OpenCTI adapter class.

  2. Copy this activity to the implementation class and add the Pega Platform integration connector to unsubscribe for the event for a device.

  3. If the unsubscribe event of the device fails, then an error should be returned. For more information, seeHandling errors.

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