Data Mappers17% of the exam

Data Mapper formulas and functions

How Data Mapper formulas are written, stored and mapped in Extract, Transform and Load: uppercase single-operation syntax, error cases, string functions (CONCAT, JOIN, SPLIT), date functions and time zones, and $Vlocity environment variables.

Official exam objective
Configure formulas to create or modify values within Data Mappers (concatenate, arithmetic, date formatting, etc.) across interface types (Transform, Extract and Load interface) for downstream use.

~7 min read · 10 practice questions ·

What the exam expects

  • Add a formula on the Formulas tab, store it in a Formula Result Path and map that result for an Extract, a Transform or a Load.
  • Write formulas the engine accepts: uppercase function names, one operation per formula, and node names with spaces quoted with var:.
  • Concatenate and split strings with CONCAT, the + operator, JOIN and SPLIT, and predict their results for numbers, nulls and empty strings.
  • Compare and format dates with DATEDIFF, FORMATDATETIME and FORMATDATETIMEGMT, and handle the UTC default of TODAY() and NOW().
  • Use $Vlocity environment variables in formulas, default values and filters.

Key terms: Formula Result Path (the JSON node that stores a formula's result), single operation (one independent expression per formula, nesting allowed), error response {} (what a function returns when it can't evaluate its inputs), loose typing (the engine coerces types when the result type is clear), $Vlocity environment variable (a case-sensitive runtime value such as $Vlocity.NOW).

Key facts

Formula support
Detail
Extract, Transform and Load; not Turbo Extract
Formula result
Detail
Stored in Formula Result Path, then mapped
Wrong QUERY on standard runtime
Detail
Returns null with no error logs
Function names
Detail
All uppercase, or "is not a Function or Operator"
Operations per formula
Detail
One; no ; or \ between operations
String + number
Detail
CONCAT and + coerce to string; -, *, / return {}
JOIN with an empty string
Detail
Joins only the values before it
SPLIT token
Detail
Java regex; escape a period as \.
Date comparison
Detail
Operators treat dates as strings; use DATEDIFF
TODAY() and NOW()
Detail
UTC by default; $Vlocity.NOW uses user or org time zone
$Vlocity in a filter
Detail
Double-quoted and case-sensitive
Sources for this section (8)
  • Why does DAYOFWEEK("2025-01-01") return an error in a Data Mapper formula?
  • When does SPLIT return the input string unchanged?
  • Why can a formula using NOW() show a different hour from the user's clock?
  • What does "Unit" * 4 return in a Data Mapper formula?
  • How must $Vlocity.N_DAYS_AGO:14 be written as an Extract filter value?

The questions are free to read. Answers with their sources and self-grading are included with the pack.

Keep reading with the Omnistudio Developer pack

  • Core concepts
  • Exam traps
  • Worked scenario

The pack includes:

  • All 46 lessons of the Omnistudio Developer guide, with reading progress
  • Interactive decision walks and step-by-step sequence steppers
  • Inline practice questions and one-click topic practice (10 questions for this lesson)
  • An official source cited for every claim
  • An AI tutor that answers from the guide
  • Unlimited timed practice exams

Practice for the Omnistudio Developer exam