---
schema_version: "1"
id: 84fab890d55ec2cc5c38c3faea9e1c04393323a15cb9beff3a111fad0d960c21
title: Omni Channel Work Declined
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/omniChannelWorkDeclined/aura-omni-channel-work-declined.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-omni-channel-work-declined.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 27b336d0d9b32fb2e0e08bf36e791ecddd468f13bdebce794af295cc2a91f25b
products:
  - Lightning Component Reference
---
# Omni Channel Work Declined

**`lightning:omniChannelWorkDeclined`**

Indicates that a user has declined a work assignment.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

`lightning:omniChannelWorkDeclined` is an application event that indicates a user has declined a work assignment. 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) |

:::::

::::::
