---
title: "Fields changed"
description: "Run when any of several selected fields changes on a row."
canonical_url: "https://docs.vettero.com/build/event-handlers/fields-changed"
---
# Fields changed

> Run when any of several selected fields changes on a row.

<trigger-meta group="Table" icon="i-lucide-list" type="table.on-fields-changed">



</trigger-meta>

**Fields changed** runs when **any** of the selected [fields](https://docs.vettero.com/data/tables/fields) changes on a row in the selected [table](https://docs.vettero.com/data/tables).

## Payload

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        tableId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Table to watch
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        fields
      </code>
    </td>
    
    <td>
      string<span>
        
      </span>
    </td>
    
    <td>
      Fields to watch. A change to any of them fires the handler
    </td>
  </tr>
</tbody>
</table>

## Trigger data

Available as `args.*`. `row` and field values match the selected table.

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        tableId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Table id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        rowId
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Row id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        field.id
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Field that changed
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        field.oldValue
      </code>
    </td>
    
    <td>
      any
    </td>
    
    <td>
      Value before the change
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        field.newValue
      </code>
    </td>
    
    <td>
      any
    </td>
    
    <td>
      Value after the change
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        row
      </code>
    </td>
    
    <td>
      object
    </td>
    
    <td>
      Row values after the change
    </td>
  </tr>
</tbody>
</table>

## Use case

- Quote rows: fire once if **amount**, **discount**, or **currency** changes — one handler instead of three [Field changed](https://docs.vettero.com/build/event-handlers/field-changed) events.
- Ticket SLA: watch due date **or** priority **or** status together.
- Shared follow-up (notify, recalc a [Formula](https://docs.vettero.com/data/tables/formula) downstream) whenever any watched column on the row changes.
- Use a run condition on which field actually changed when the flow should still branch.

<trigger-page-nav>



</trigger-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
