lightning:omniChannelLogout

Indicates that an agent has logged out of Omni-Channel.

NameTypeDescription
reasonstringThe reason why the agent is logged out. Possible values are:
  • DuplicateLogin
  • DuplicateLoginInSameBrowser
  • MaintenanceLogout
  • OmniSupervisorLogout

This example prints a line to the browser’s developer console when an Omni-Channel user logs out of Omni-Channel.

Component code:

Controller code: