Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Event handler in the enhanced Case view component

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.

Event handlerDescriptionPayload
SN_EMBEDX_CASE_VIEW#COMPONENT_READYThis event is dispatched when a component is ready and usable.None
SN_EMBEDX_CASE_VIEW#COMPONENT_ERRORThis event is dispatched when a property validation or internal error occurs.errorMessage, errorType
SN_EMBEDX_CASE_VIEW#CASE_COMMENT_ADDEDThis event is dispatched when a comment is added in the activity stream.None
SN_EMBEDX_CASE_VIEW#RELATED_RECORD_SELECTEDThis 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_SELECTEDThis event is dispatched when an activity is selected.playbookContextId, stageContextId, activityContextId
SN_EMBEDX_CASE_VIEW#STAGE_SELECTEDThis event is dispatched when a stage is selected.playbookContextId, stageContextId
SN_EMBEDX_CASE_VIEW#FILTER_OPTION_SELECTEDThis event is dispatched when a filter option is selected.playbookContextId, item
SN_EMBEDX_CASE_VIEW#ACTIVITY_STATE_CHANGEDThis event is dispatched when the activity's state changes.playbookContextId, stageContextId, activityContextId
SN_EMBEDX_CASE_VIEW#OPEN_RECORDThis event is dispatched when an open record event is fired.table, sys_id, params, query
SN_EMBEDX_CASE_VIEW#PLAYBOOK_EXPANDEDThis event is dispatched when the playbook chevron is expanded.playbookContextId, updatedExpandState
SN_EMBEDX_CASE_VIEW#UPDATE_SELECTIONThis event is dispatched when an activity is completed.selectedPlaybook, selectedStage, selectedActivity
SN_EMBEDX_CASE_VIEW#OPEN_LISTThis event is dispatched when an open list event is fired.table, listTitle, query, disableInlineEditing, listView
SN_EMBEDX_CASE_VIEW#USER_INTERACTIONThis 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_SELECTEDThis event is dispatched when a filter is selected.playbookContextId, value