---
sourceDocument: Australia Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/customer-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Event handler in the enhanced Case view component

# Event handler in the enhanced Case view component {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

A component triggers an event when a certain condition is met or on user interaction. The event can be used to execute an action through a code on third-party webpage.
{#we-case-view-event-handler__table_qz3_pv3_dcc__entry__3}

| Event handler | Description | Payload |
|-|-|-|
| SN_EMBEDX_CASE_VIEW#COMPONENT_READY | This event is dispatched when a component is ready and usable. | None |
| SN_EMBEDX_CASE_VIEW#COMPONENT_ERROR | This event is dispatched when a property validation or internal error occurs. | `errorMessage, errorType` |
| SN_EMBEDX_CASE_VIEW#CASE_COMMENT_ADDED | This event is dispatched when a comment is added in the activity stream. | None |
| SN_EMBEDX_CASE_VIEW#RELATED_RECORD_SELECTED | This event is dispatched when a record of related list is selected. | `table, record_sys_id, reference_table, reference_record_sys_id` |
| Additional events |||
| SN_EMBEDX_CASE_VIEW#ACTIVITY_SELECTED | This event is dispatched when an activity is selected. | `playbookContextId, stageContextId, activityContextId` |
| SN_EMBEDX_CASE_VIEW#STAGE_SELECTED | This event is dispatched when a stage is selected. | `playbookContextId, stageContextId` |
| SN_EMBEDX_CASE_VIEW#FILTER_OPTION_SELECTED | This event is dispatched when a filter option is selected. | `playbookContextId, item` |
| SN_EMBEDX_CASE_VIEW#ACTIVITY_STATE_CHANGED | This event is dispatched when the activity's state changes. | `playbookContextId, stageContextId, activityContextId` |
| SN_EMBEDX_CASE_VIEW#OPEN_RECORD | This event is dispatched when an open record event is fired. | `table, sys_id, params, query` |
| SN_EMBEDX_CASE_VIEW#PLAYBOOK_EXPANDED | This event is dispatched when the playbook chevron is expanded. | `playbookContextId, updatedExpandState` |
| SN_EMBEDX_CASE_VIEW#UPDATE_SELECTION | This event is dispatched when an activity is completed. | `selectedPlaybook, selectedStage, selectedActivity` |
| SN_EMBEDX_CASE_VIEW#OPEN_LIST | This event is dispatched when an open list event is fired. | `table, listTitle, query, disableInlineEditing, listView` |
| SN_EMBEDX_CASE_VIEW#USER_INTERACTION | This event is dispatched when the user interacts with any element on playbook. | `playbookContextId, parentTable, parentRecord, stageName, stageTitle, stageState, activityTitle, activityContextId, associatedRecord, associatedTable` |
| SN_EMBEDX_CASE_VIEW#FILTER_SELECTED | This event is dispatched when a filter is selected. | `playbookContextId, value` |
[Tabela 1. Events triggered by the component]

{#we-case-view-event-handler__table_qz3_pv3_dcc}

