Skip to main content

current_record_get_previous_revision

Internal beta โ€” config shape is being migrated

The Automation API is an internal beta and is not released yet โ€” endpoints and payloads may change or be withdrawn without notice. This action's config is being migrated to a typed schema; the fields below reflect that in-progress shape. Always read the authoritative, live shape from GET /v1/automation/meta/action before building against it.

Get previous revision โ€” resolves the previous revision of the run's current record. group: "action". Requires any record-context trigger.

Part of the Current record family. This page documents the typed config; for how an action sits inside an automation definition, see Actions and Action examples.

Configโ€‹

This action carries no config-specific members of its own โ€” its behaviour is fully determined by the action type, so its config is an empty object.

KeyTypeRequiredDescription
(none)โ€”โ€”This action takes no config members.

Exampleโ€‹

An action entry inside an automation definition's actions[]:

{
"type": "current_record_get_previous_revision",
"config": {}
}

Validation & behaviorโ€‹

  • The config is an empty object โ€” pass "config": {} (the served schema advertises zero properties and rejects any additional key).
  • Behaviour is fixed by the action type: it resolves the previous revision of the run's current record.
  • Requires a record-context trigger so that a current record exists to resolve a previous revision from.

See alsoโ€‹