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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Event handlers in the Case create component

# Event handlers in the Case create component {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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 a third-party webpage.
{#we-case-create-event-handlers__table_asy_r53_dcc__entry__3}

| Event handler | Description | Payload |
|-|-|-|
| SN_EMBEDX_CASE_FORM#COMPONENT_READY | This event is dispatched when a component is ready and usable. | None |
| SN_EMBEDX_CASE_FORM#COMPONENT_ERROR | This event is dispatched when a property validation or internal error occurs. | `errorMessage, errorType` |
| SN_EMBEDX_CASE_FORM#BUTTON_CLICKED | This event is dispatched if any button is selected the confirmation message. | `table, record_sys_id, button_variant` |
| SN_EMBEDX_CASE_FORM#RECORD_CREATION_SUCCEEDED | This event is dispatched if the record was successfully created. | `table, record_sys_id ` |
| SN_EMBEDX_CASE_FORM#RECORD_CREATION_FAILED | This event is dispatched if the record creation has failed. | None |
| SN_EMBEDX_CASE_FORM#COMPONENT_NOTIFICATION_SENT | This event is dispatched when the component provides a notification for the end user. | `item` |
[Table 1. Event handlers in the Case create component]

{#we-case-create-event-handlers__table_asy_r53_dcc}
**Related tasks**   

* [Configure the Case create component instance](https://servicenow-prod.fluidtopics.net/VudO_ZQcEGqQYJR9BsJqZw "Configure the Case create component instance so users can embed it in their website to report product and service issues directly.")
* [Embed the Case create component instance on the third-party website](https://servicenow-prod.fluidtopics.net/R~1EYED_MfQV9_Q1scd1AQ "Embed the global code and component code of the Case create component instance that you configured so that you can enable your customers to start using the Case create component instance on your third-party website.")  
**Related reference**   

* [Component properties for the Case create](https://servicenow-prod.fluidtopics.net/YaOLtWQ_IOq2BMDJfMm2_g "Component properties enable you to configure the behavior of the Case create component instance on a third-party website.")
* [Sample code for the Case create component](https://servicenow-prod.fluidtopics.net/sp5VdHAJK1kXlXj3JD7i9w "Use this sample code to run an action when the Case create component triggers an event.")

