This guide provides a comprehensive list of all functions available for use in Formula Fields and other calculation engines within ValStorm.
{{record.field_api_name}}.') or double (") quotes for text.TRUE, FALSE, true, or false.AND, and, or &&.OR, or, or ||.= or ==.!= or <>.& operator to join strings.Returns one value if a condition is true and another if it is false.
IF(condition, true_value, false_value)IF({{record.amount}} > 1000, "High Value", "Standard")Returns TRUE if all arguments are true.
AND(logical1, [logical2], ...)AND({{record.is_active}}, {{record.score}} > 50){{record.is_active}} && {{record.score}} > 50Returns TRUE if at least one argument is true.
OR(logical1, [logical2], ...)OR({{record.status}} = "Closed", {{record.status}} = "Archived"){{record.status}} == "Closed" || {{record.status}} == "Archived"Inverts the value of its argument.
NOT(logical)NOT({{record.is_deleted}})Converts a string to all uppercase letters.
UPPER(text)UPPER({{record.last_name}})Converts a string to all lowercase letters.
LOWER(text)LOWER({{record.email}})Returns the number of characters in a text string.
LEN(text)LEN({{record.phone}})Formats a number as a currency string.
FORMAT_CURRENCY(number)FORMAT_CURRENCY({{record.total_price}}) -> "$1,234.56"Adds all the numbers in a list of arguments.
SUM(number1, [number2], ...)SUM({{record.subtotal}}, {{record.tax}}, {{record.shipping}})Returns the current date in ISO format (YYYY-MM-DD).
TODAY()IF({{record.due_date}} < TODAY(), "Overdue", "On Time")Returns the current date and time in ISO format.
NOW()Calculates the age in years based on a birth date.
AGE(date)AGE({{record.birthday}}) -> 31Calculates the next occurrence of a birthday.
NEXT_BIRTHDAY(date)NEXT_BIRTHDAY({{record.birthday}}) -> "2026-07-28"Adds a specific number of units to a date.
DATE_ADD(date, amount, unit)'day', 'week', 'month', 'year', 'hour', 'minute'DATE_ADD({{record.created_date}}, 30, 'days')Calculates the difference between two dates.
DATE_DIFF(end_date, start_date, unit)'day', 'hour', 'minute', 'second', 'year'DATE_DIFF(NOW(), {{record.last_contact_date}}, 'days')Returns TRUE if the value is null or missing.
ISNULL(value)IF(ISNULL({{record.manager}}), "No Manager", {{record.manager.name}})Returns TRUE if the value is null, missing, or an empty string.
ISBLANK(value)IF(ISBLANK({{record.middle_name}}), "None", {{record.middle_name}})