---
schema_version: "1"
id: 25a883b4534e68c9e3d0dd548d8ac128debeb1abf96f1c60105e713e822595e2
title: Omni Channel Work Closed
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/lightning/omniChannelWorkClosed/aura-omni-channel-work-closed.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-omni-channel-work-closed.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2e25cb245387b323e90c185e6c209834d270c383e0b0bc047c1c389f61857bb2
products:
  - Lightning Component Reference
---
# Omni Channel Work Closed

**`lightning:omniChannelWorkClosed`**

Indicates that a user has closed a tab in the console that’s associated with a work item.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

`lightning:omniChannelWorkClosed` is an application event that indicates a user has closed a tab in the console that’s associated with a work item. This event is supported in Lightning console apps only.

For more information, see [Events for Omni-Channel](https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_omnichannel_events.htm) in the Salesforce Console Developer Guide.


:::::

:::::tab
## Attributes

| Name         | Description                                              | Type   | Default | Required                                     |
| ------------ | -------------------------------------------------------- | ------ | ------- | -------------------------------------------- |
| `workId`     | The ID of a work assignment that’s routed to an agent.   | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `workItemId` | The ID of the object that’s routed through Omni-Channel. | string |         | ![Yes](https://developer.salesforce.com/media/check.png) |

:::::

::::::
