---
sourceDocument: Zurich Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/zurich/application-development

 Release :

    - zurich

ft:locale :

    - en-US

ft:publication_title :

    - Zurich Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Bind an event to a data resource

# Bind an event to a data resource {#ariaid-title1}

* Release version: Zurich
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Assign event handlers within UI Builder to individual data
resources on your page. When a data resource successfully fetches new data, it executes an
event handler to take a user to the next step in a flow.

## Before you begin

Role required: ui_builder_admin

## About this task

Bind an event to a data resource, to perform data-related actions on your page. For
example, you can add a button to reload data to a page if it doesn't load the first
time. You can also set up a data resource event to reload data behind the scenes of
your page.

## Procedure

1. Navigate to AllNow Experience FrameworkUI Builder.
2. Open an experience to work in or create an experience by selecting CreateExperience.  
   For more information, see [Configure how users interact with your applications in UI Builder](https://www.servicenow.com/docs/iNIKh5D0WTwLggJ~MxG1qQ "Learn what an experience is in UI Builder. Understand what an experience contains.").
3. Create or open a page.  
   For more information about how to create a page in UI Builder, see [Create a page
   in UI Builder](https://www.servicenow.com/docs/L3uxkn_s6l5qDdkDxGac3g "Create a page in UI Builder for a portal, workspace, or custom application so that you can build a web experience for your users.").
4. **Optional:** If you do not have any components on your page, add one to your page.  
   For more information, see [Add and configure components](https://www.servicenow.com/docs/2TGg~O~VTqAhbPfHyQKG7A#add-components "Learn how to add components to your page in UI Builder. A page is built by adding components.").
5. Add a data resource to your page.  
   For more information, see [Add and configure data resources to a page](https://www.servicenow.com/docs/dJ_1JsdormhfqWLlF_G1UA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.").
6. Select a data resource instance.  
7. To add an event handler to your data resource, select the Events tab in the configuration panel of the data resource.  
   You can add event handlers to your data resource to handle actions for Operation Initiated, Operation Succeeded, and Operation Failed.
8. Select Add event mapping.
9. Select an event from the list.  
10. Select Continue.
11. Select an event handler from the list.  
12. Select Continue.
13. Fill in the required information for the event handler.  
    The configuration varies depending on which event handler is selected.
14. Select Add.
15. Select Save.
16. To preview your page and test the data resource event that you set up, select ![Preview button]() in the UI Builder header.
* **[Link an event to another page](https://www.servicenow.com/docs/ndyR3d_UNejm3TBKw7OrCA)**   
  Add a link to the destination event handler within UI Builder so that an event action can open another page. You can also configure the event handler to follow the App Route to the desired page.

*[\>]: and then


