[レガシー]{class="badge informative"}
パーソナライゼーションエディターでサポートされる関数 personalization-editor-supported-functions
意思決定管理では、表示域を追加したり、オファーコンテンツ(オファー内の画像、テキスト、リンク)をパーソナライズしたりする際に、パーソナライゼーションエディターを使用します。
Offer Decisioning のバックエンドは、コンテンツをパーソナライズする際、パーソナライゼーションエディターで使用可能な関数の サブセット のみをサポートしています。 このページには、オファーコンテンツのエディターで安全に使用できるすべての関数が一覧表示されます。 各セクションを展開して、サポートされている演算子、ヘルパー、関数を確認します。
サポートされている関数リスト supported-functions-list
- 算術演算:
+-*/% - 論理:
andor! - 比較:
=!=>>=<<=
- Each
- With
- If
- Unless
- Let
- デフォルトのフォールバック値
- フラグメント
- externalDataLookup(Alpha)
- インライン
- URL
- 実行メタデータ
- 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 | |
|---|---|
| 表示名 | 内部名 |
| 小文字 | lowerCase |
| 大文字 | upperCase |
| キャメルケース | camelCase |
| 単語の先頭のみ大文字 | titleCase |
| トリミング | trim |
| 左トリミング | leftTrim |
| 右トリミング | rightTrim |
| 空である | isEmpty |
| 等しい (大文字と小文字を区別しない) | equalsIgnoreCase |
| 等しくない (大文字と小文字を区別しない) | notEqualWithIgnoreCase |
| 置換 | replace |
| すべて置換 | replaceAll |
| 連結 | concat |
| 分割 | split |
| Encode64 | encode64 |
| 長さ | length |
| MD5 | md5 |
| SHA256 | sha256 |
| 次に類似 | like |
| 次で始まる | startsWith |
| 次で始まらない | doesNotStartWith |
| 次で終わる | endsWith |
| 次で終わらない | doesNotEndWith |
| 次を含む | contains |
| 次を含まない | doesNotContain |
| 次に等しい | 次と等しい |
| 次と等しくない | notEqualTo |
| 一致 | matches |
| 正規表現グループ | regexGroup |
| 文字列を数値に変換 | stringToNumber |
| 文字列を日付に | stringToDate |
| 日時に | toDateTime |
| 日時のみに | toDateTimeOnly |
| メールドメインを抽出 | extractEmailDomain |
| メールユーザー名を抽出 | extractEmailUsername |
| 空でない | isNotEmpty |
| インデックス | indexOf |
| 最後のインデックス | lastIndexOf |
| 部分文字列 | substr |
| ブール値に | toBool |
| 文字列を整数に | string_to_integer |
| マスク | mask |
| 通貨形式を取得 | formatCurrency |
| 文字の Unicode 値を取得 | charCodeAt |
| 任意のテキストの QR コードを取得 | 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 | |
|---|---|
| 表示名 | 内部名 |
| 個別 | distinct |
| 次に含まれる | in |
| 次に含まれない | notIn |
| 交わり | intersects |
| サブセット | subsetOf |
| スーパーセット | supersetOf |
| 次を含む | includes |
| 配列の最初の N 個を並べ替えて取得 | topN |
| 並べ替えて配列の最後の N 個を取得 | bottomN |
| 最初の項目 | head |
| カウント | count |
| 合計 | sum |
| 平均 | average |
| 最小 | min |
| 最大 | max |
| table 0-row-2 1-row-2 2-row-2 3-row-2 | |
|---|---|
| 表示名 | 内部名 |
| 取得 | get |
| キー | keys |
| 値 | values |
| table 0-row-2 1-row-2 2-row-2 | |
|---|---|
| 表示名 | 内部名 |
| null である | isNull |
| 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 | |
|---|---|
| 表示名 | 内部名 |
| パーセンテージに | toPercentage |
| 切り上げ | roundUp |
| 切り捨て | roundDown |
| 精度に | toPrecision |
| 絶対 | absolute |
| ランダム | random |
| 16 進数に | toHexString |
| ロケールへの数値を取得 | formatNumber |
| 文字列に | toString |
| ToInt | toInt |
| 長整数に | 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 | |
|---|---|
| 表示名 | 内部名 |
| Now | now |
| CurrentZonedDateTime を取得 | getCurrentZonedDateTime |
| 日付に | toDate |
| 時刻に | toTime |
| 日時に | toDateTime |
| 日時のみに | toDateTimeOnly |
| 日付のみに | toDateOnly |
| 時刻のみに | toTimeOnly |
| タイムゾーンに | toTimeZone |
| 日付を書式設定 | formatDate |
| 日時を書式設定 | formatDateTime |
| 時刻を書式設定 | formatTime |
| 日付を解析 | parseDate |
| 日時を解析 | parseDateTime |
| 時刻を解析 | parseTime |
| 日数を追加 | addDays |
| 月数を追加 | addMonths |
| 年数を追加 | addYears |
| 時間数を追加 | addHours |
| 分数を追加 | addMinutes |
| 秒数を追加 | addSeconds |
| 日数を減算 | subtractDays |
| 月数を減算 | subtractMonths |
| 年数を減算 | subtractYears |
| 時間を減算 | subtractHours |
| 分数を減算 | subtractMinutes |
| 秒数を減算 | subtractSeconds |
| 日数の差 | diffDays |
| 月数の差 | diffMonths |
| 年数の差 | diffYears |
| 時間数の差 | diffHours |
| 分数の差 | diffMinutes |
| 秒数の差 | diffSeconds |
| 日の開始 | startOfDay |
| 日の終了 | endOfDay |
| 次より前 | isBefore |
| 次より後 | isAfter |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 | |
|---|---|
| 表示名 | 内部名 |
| URL をエンコード | encodeUrl |
| URL をデコード | decodeUrl |
| URL クエリパラメーターを取得 | getUrlQueryParam |
| URL プロトコルを取得 | getUrlProtocol |
| URL ホストを取得 | 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