---
title: "Field changed"
description: "Run when one selected field changes on a row."
canonical_url: "https://docs.vettero.com/build/event-handlers/field-changed"
---
# Field changed

> Run when one selected field changes on a row.

<trigger-meta group="Table" icon="i-lucide-sliders-horizontal" type="table.on-field-changed">



</trigger-meta>

**Field changed** runs when the selected [field](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>
        field
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      Field to watch
    </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>
      Changed field id
    </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

- [Status](https://docs.vettero.com/data/tables/status) moves to `Done` — notify, close a loop, or start the next [workflow](https://docs.vettero.com/build/workflows).
- Assignee ([User](https://docs.vettero.com/data/tables/user)) changes — alert the new owner.
- Amount, due date, or a flag flips — compare old and new values in the handler (for example only run when the new status is `Won`).
- One column only. Watch several columns with [Fields changed](https://docs.vettero.com/build/event-handlers/fields-changed); any edit on the row with [Row updated](https://docs.vettero.com/build/event-handlers/row-updated).

<trigger-page-nav>



</trigger-page-nav>


## Sitemap

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