---
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 handlers in the Case create component

# Event handlers in the Case create 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 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` |
[Tabela 1. Event handlers in the Case create component]

{#we-case-create-event-handlers__table_asy_r53_dcc}
**Tarefas relacionadas**   

* [Configure the Case create component instance](https://servicenow-prod.fluidtopics.net/BNZ3WNTSYd25DuPp0KjJ4Q "Configure the Case create component instance so that your users can embed it within their website to address any issues related to product and services from their website directly.")
* [Embed the Case create component instance on the third-party website](https://servicenow-prod.fluidtopics.net/0Uz9DXZEpuamm2qToGB9~Q "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.")  
**Referência relacionada**   

* [Component properties for the Case create](https://servicenow-prod.fluidtopics.net/ED8zXjEBn9X2xgoh~wbpiQ "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/v_zmgBoShENfZOTOu_KR2w "Sample code is provided to define an action when an event is triggered. Update the sample code for your use case before embedding the component on your webpage.")

