For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

HIST_OLD_VALUE() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns the previous value from history tracking (Rippling-specific).

Syntax​

HIST_OLD_VALUE(field)

Parameters​

ParameterDescriptionData TypeRequired
fieldTracked field whose previous value you want from change historyAnyYes

Notes​

  • Returns the value a tracked field changed from for the relevant history event.

Example​

SELECT
HIST_OLD_VALUE(tracked_field)
FROM
rippling.employee.Employee
LIMIT
5;