Skip to content
MyAppBuilder
StableWorkflow trigger

A record is updated

Overview

Starts the workflow when a record of the entity changes — optionally only when a specific field changes.

Purpose

Status-driven automations: notify the customer when a job moves to “done”, create an invoice when a quote is approved, alert the team when a priority becomes “urgent”.

Inputs

  • Entity — which entity to watch.
  • Only when this field changes — pick a field (for example Status) to ignore edits to other fields. Leave empty to run on any change.
  • Only if (optional) — a condition on the record after the change (Status is “approved”).

Configuration

  • Combine field + condition for precise triggers: field = Status, condition = Status is “approved” runs exactly once when a quote becomes approved.
  • If the workflow itself updates the same entity, use a field filter or condition to avoid re-triggering.

Outputs

  • Current record — the record after the update.
  • {{event.before.field_key}} — the value before the update (useful in conditions and emails: “changed from {{event.before.status}} to {{record.status}}”).
  • Available data in every step: Current record / {{record.field_key}} (the record that triggered the run), Event / {{event.name}} (inputs passed to the run; {{event.before.field_key}} holds the previous values after an update), Action results / {{results.key}} (values saved by earlier steps) and Current user / {{user.email}} (whoever caused the run; for test runs, you).

Example

Quote approved

Example
Trigger: Quotes › A record is updated · Only when Status changes · Only if Status is “approved”
Step 1  Database › Create record  Jobs  (Customer = {{record.customer}}, Quote = {{record.id}})
Step 2  Send email  To: {{record.customer_email}} · Subject: Your quote was approved

Errors

  • Runs fail only inside steps; the update itself always succeeds first.

Limitations

  • Field change detection compares the stored values; a save that writes the same value again does not count as a change.
  • Inline edits in a Data Grid fire it per cell edit.

Advanced

  • Trigger: { type: "record_updated", entityId, fieldId?, condition? }. The executor skips the run when JSON.stringify(before[key]) === JSON.stringify(record[key]) for the chosen field; before is exposed as event.before.

Related

Was this helpful?