[Legacy]{class="badge informative"}
Supported functions in the personalization editor personalization-editor-supported-functions
In Decision management, you use the personalization editor when you add representations and personalize offer content (images, text, links in your offers).
The Offer Decisioning backend supports only a subset of the functions available in the personalization editor when personalizing that content. This page lists every function you can safely use in the editor for offer content. Expand each section to see the supported operators, helpers, and functions.
Supported functions list supported-functions-list
- Arithmetic:
+-*/% - Logical:
andor! - Comparison:
=!=>>=<<=
- Each
- With
- If
- Unless
- Let
- Default fallback value
- fragment
- externalDataLookup (Alpha)
- Inline
- Url
- Execution Metadata
- valueAtPath
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 10-row-2 11-row-2 12-row-2 13-row-2 14-row-2 15-row-2 16-row-2 17-row-2 18-row-2 19-row-2 20-row-2 21-row-2 22-row-2 23-row-2 24-row-2 25-row-2 26-row-2 27-row-2 28-row-2 29-row-2 30-row-2 31-row-2 32-row-2 33-row-2 34-row-2 35-row-2 36-row-2 37-row-2 38-row-2 39-row-2 40-row-2 41-row-2 42-row-2 43-row-2 44-row-2 45-row-2 | |
|---|---|
| Display name | Internal name |
| Lower case | lowerCase |
| Upper case | upperCase |
| Camel case | camelCase |
| Title case | titleCase |
| Trim | trim |
| Left Trim | leftTrim |
| Right Trim | rightTrim |
| Is Empty | isEmpty |
| Equals Ignore Case | equalsIgnoreCase |
| Not Equal With Ignore Case | notEqualWithIgnoreCase |
| Replace | replace |
| Replace All | replaceAll |
| Concat | concat |
| Split | split |
| Encode64 | encode64 |
| Length | length |
| MD5 | md5 |
| SHA256 | sha256 |
| Like | like |
| Starts with | startsWith |
| Does not start with | doesNotStartWith |
| Ends with | endsWith |
| Does not end with | doesNotEndWith |
| Contains | contains |
| Does not contain | doesNotContain |
| Equals | equals |
| Not equal to | notEqualTo |
| Matches | matches |
| Regular expression group | regexGroup |
| String to number | stringToNumber |
| String to date | stringToDate |
| To Date Time | toDateTime |
| To Date Time Only | toDateTimeOnly |
| Extract email domain | extractEmailDomain |
| Extract email username | extractEmailUsername |
| Is Not Empty | isNotEmpty |
| Index Of | indexOf |
| Last Index Of | lastIndexOf |
| Sub string | substr |
| To Bool | toBool |
| String to integer | string_to_integer |
| Mask | mask |
| Get format currency | formatCurrency |
| Get unicode value of character | charCodeAt |
| Get Qr Code for any text | qrCode |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 10-row-2 11-row-2 12-row-2 13-row-2 14-row-2 15-row-2 | |
|---|---|
| Display name | Internal name |
| Distinct | distinct |
| In | in |
| Not in | notIn |
| Intersects | intersects |
| Subset of | subsetOf |
| Superset of | supersetOf |
| Includes | includes |
| Sort and get first N in array | topN |
| Sort and get last N in array | bottomN |
| First item | head |
| Count | count |
| Sum | sum |
| Average | average |
| Minimum | min |
| Maximum | max |
| table 0-row-2 1-row-2 2-row-2 3-row-2 | |
|---|---|
| Display name | Internal name |
| Get | get |
| Keys | keys |
| Values | values |
| table 0-row-2 1-row-2 2-row-2 | |
|---|---|
| Display name | Internal name |
| Is null | isNull |
| Is not null | isNotNull |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 10-row-2 11-row-2 | |
|---|---|
| Display name | Internal name |
| To Percentage | toPercentage |
| Round Up | roundUp |
| Round down | roundDown |
| To Precision | toPrecision |
| Absolute | absolute |
| Random | random |
| To Hexadecimal | toHexString |
| Get number to locale | formatNumber |
| To String | toString |
| To Int | toInt |
| To Long | toLong |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 10-row-2 11-row-2 12-row-2 13-row-2 14-row-2 15-row-2 16-row-2 17-row-2 18-row-2 19-row-2 20-row-2 21-row-2 22-row-2 23-row-2 24-row-2 25-row-2 26-row-2 27-row-2 28-row-2 29-row-2 30-row-2 31-row-2 32-row-2 33-row-2 34-row-2 35-row-2 36-row-2 37-row-2 | |
|---|---|
| Display name | Internal name |
| Now | now |
| Get CurrentZonedDateTime | getCurrentZonedDateTime |
| To Date | toDate |
| To Time | toTime |
| To Date Time | toDateTime |
| To Date Time Only | toDateTimeOnly |
| To Date Only | toDateOnly |
| To Time Only | toTimeOnly |
| To Time Zone | toTimeZone |
| Format date | formatDate |
| Format date time | formatDateTime |
| Format time | formatTime |
| Parse date | parseDate |
| Parse date time | parseDateTime |
| Parse time | parseTime |
| Add Days | addDays |
| Add Months | addMonths |
| Add Years | addYears |
| Add Hours | addHours |
| Add Minutes | addMinutes |
| Add Seconds | addSeconds |
| Subtract Days | subtractDays |
| Subtract Months | subtractMonths |
| Subtract Years | subtractYears |
| Subtract Hours | subtractHours |
| Subtract Minutes | subtractMinutes |
| Subtract Seconds | subtractSeconds |
| Difference in Days | diffDays |
| Difference in Months | diffMonths |
| Difference in Years | diffYears |
| Difference in Hours | diffHours |
| Difference in Minutes | diffMinutes |
| Difference in Seconds | diffSeconds |
| Start of day | startOfDay |
| End of day | endOfDay |
| Is Before | isBefore |
| Is After | isAfter |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 | |
|---|---|
| Display name | Internal name |
| Encode URL | encodeUrl |
| Decode URL | decodeUrl |
| Get URL query param | getUrlQueryParam |
| Get URL protocol | getUrlProtocol |
| Get URL host | getUrlHost |
This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.
For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.
- TL;DR: Lists the operators, helpers, and functions that are supported in the personalization editor when you personalize offer content in Decision management.
Intents:
- Check whether an operator, helper, or function is supported when personalizing offer content in the personalization editor.
- Find the internal name of a function from its display name, or the display name from its internal name.
- Find which section lists an operator, helper, or function: Operators; Helpers; String functions; Array, list and set functions; Map functions; Object functions; Math functions; Date time functions; or URL functions.
- Check whether this function list applies to the capability you use (Decision Management or Decisioning) and to the item you are editing (offer content, decision rules, or ranking formulas).
Glossary:
- Personalization editor (product-specific): the editor you use in Decision management when you add representations and personalize offer content.
- Offer content (product-specific): the images, text, and links in your offers; the page also writes it as “offer content (representations)”.
- Display name and Internal name: the two columns of the function tables; for example, the display name Lower case goes with the internal name
lowerCase.
Guardrails:
- The Offer Decisioning backend supports only a subset of the functions available in the personalization editor when personalizing offer content; only the subset documented on this page is supported for personalizing content in Offer Decisioning.
- If you use a function that is not in the list when personalizing offer content, the expression may fail at runtime or produce unexpected results.
Applicability:
- Applies: the legacy Decision Management capability.
- Applies: only to personalizing offer content (representations).
- Does not apply: decision rules and ranking formulas, which use different editors and are not limited to this subset.
Terminology:
- Canonical name: Decision management — variants: “Decision Management”.
- Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer (the name used on this page).
- Do not confuse: “Decision Management” ≠ “Decisioning” (the page names Decisioning as the new capability).
FAQ:
- Q: Which functions of the personalization editor are supported when personalizing offer content? A: Only a subset of the functions available in the personalization editor: the operators, helpers, and functions listed on this page.
- Q: What happens if I use a function that is not in the list when personalizing offer content? A: The expression may fail at runtime or produce unexpected results.
- Q: Does the function list apply to decision rules and ranking formulas? A: No. The function list applies only to personalizing offer content (representations); decision rules and ranking formulas use different editors and are not limited to this subset.
- Q: Can I use any function from the full set available in Journey Optimizer personalization to personalize offer content? A: No. Only the subset documented on this page is supported for personalizing content in Offer Decisioning; the page points to the Helper functions list for the full set.
- Q: Does this page cover the new Decisioning capability? A: This page covers the supported personalization editor functions for the legacy Decision Management capability. If you are using the new Decisioning capability, the page refers to Get started with Decisioning; if you are not sure which capability you are using, it links to Compare Decision management and Decisioning.
Related pages:
- If you are using the new Decisioning capability: Get started with Decisioning
- If you are not sure which capability you are using: Compare Decision management and Decisioning
- When you add representations and personalize offer content: add representations
- For the full set of functions available in Journey Optimizer personalization: Helper functions list
Personas:
- marketer: Can personalize offer content (images, text, links) in legacy Decision management with the personalization editor when adding representations, using supported operators, helpers, and functions. Supported items include the comparison operator
>=, the helpers If, Unless, and Each, the string functionlowerCase, and the date time functionformatDate. The page states that an expression may fail at runtime or produce unexpected results if it uses a function that is not listed. Where: “Supported functions list”.
Onboarding:
- Level: Intermediate
- First minimal step: Expand each section to see the supported operators, helpers, and functions.
- Previous: If you are not sure which capability you are using: Compare Decision management and Decisioning; When you add representations and personalize offer content: add representations
- Next: For the full set of functions available in Journey Optimizer personalization: Helper functions list; If you are using the new Decisioning capability: Get started with Decisioning