Newer Version Available

This content describes an older version of this product. View Latest

getServicePresenceStatusChannels for Lightning Experience

Retrieves the service channels that are associated with an Omni-Channel user’s current presence status.

Arguments

Name Type Description
callback function JavaScript method to call when the channels associated with a presence status are retrieved.

Sample Code

Component code:

Controller code:

Response

This method is asynchronous so it returns its response in an object in a callback method. The response object contains the following properties:

Name Type Description
success boolean true if retrieving the current presence status channels was successful; false otherwise.
channels JSON string of channel objects Returns the IDs and API names of the channels associated with the presence status.