---
schema_version: "1"
id: 2c7be5c61aee5eee316d5592e3c7f5d1c8cf881090a9764d98151476d5c2a031
title: Omni Channel Work Flag Updated
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/omniChannelWorkFlagUpdated/aura-omni-channel-work-flag-updated.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/aura-omni-channel-work-flag-updated.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8100ab9fed206f2ded1d6877411ae9d9e573c6fbb78fd7d8635956369c17835b
products:
  - Lightning Component Reference
---
# Omni Channel Work Flag Updated

**`lightning:omniChannelWorkFlagUpdated`**

Indicates that a work item's flag has changed.

**For Use In**

Lightning Experience

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

`lightning:omniChannelWorkFlagUpdated` is an application event that indicates a work item's flag has changed. 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                                     |
| --------------- | -------------------------------------------------------------------------------------- | ------- | ------- | -------------------------------------------- |
| `isFlagged`     | Specifies whether the flag is raised.                                                  | boolean |         | ![Yes](https://developer.salesforce.com/media/check.png) |
| `message`       | A message associated with changing the flag.                                           | string  |         |                                              |
| `roleUpdatedBy` | The role of the user who triggered this flag change. The value is AGENT or SUPERVISOR. | string  |         |                                              |
| `updatedBy`     | The ID of the user who triggered this flag change.                                     | string  |         |                                              |
| `workId`        | The ID of a work item with the updated flag.                                           | string  |         | ![Yes](https://developer.salesforce.com/media/check.png) |

:::::

::::::
