[Legado]{class="badge informative"}
Funções compatíveis com o editor de personalização personalization-editor-supported-functions
Na Gestão de decisões, você usa o editor de personalização ao adicionar representações e personalizar o conteúdo de ofertas (imagens, texto, links em suas ofertas).
O back-end do Offer Decisioning oferece suporte apenas a subconjunto das funções disponíveis no editor de personalização ao personalizar esse conteúdo. Esta página lista todas as funções que você pode usar com segurança no editor para conteúdo de oferta. Expanda cada seção para ver os operadores, auxiliares e funções compatíveis.
Lista de funções suportadas supported-functions-list
- Aritmética:
+-*/% - Lógica:
andor! - Comparação:
=!=>>=<<=
- Each
- Com
- Se
- A menos que
- Let
- Valor de fallback padrão
- fragmento
- externalDataLookup (Alpha)
- Em linha
- URL
- Metadados de execução
- 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 | |
|---|---|
| Nome de exibição | Nome interno |
| Minúsculas | lowerCase |
| Maiúscula | upperCase |
| Camel case | camelCase |
| Caixa do título | titleCase |
| Aparar | trim |
| Cortar à esquerda | leftTrim |
| Cortar à direita | rightTrim |
| Está vazio | isEmpty |
| Ignorar maiúsculas e minúsculas é igual a | equalsIgnoreCase |
| Diferente de Ignorar Maiúsculas e Minúsculas | notEqualWithIgnoreCase |
| Substituir | replace |
| Substituir tudo | replaceAll |
| Concat | concat |
| Divisão | split |
| Encode64 | encode64 |
| Length | comprimento |
| MD5 | md5 |
| SHA256 | sha256 |
| É como | curtir |
| Começa com | startsWith |
| Não inicia com | doesNotStartWith |
| Termina com | endsWith |
| Não termina com | doesNotEndWith |
| Contains | contém |
| Não contém | doesNotContain |
| Igual | igual a |
| Não é igual a | notEqualTo |
| Corresponde | corresponde a |
| Grupo de expressão regular | regexGroup |
| Sequência de caracteres para número | stringToNumber |
| Sequência de caracteres para data | stringToDate |
| Para data hora | toDateTime |
| Somente para data e hora | toDateTimeOnly |
| Extrair domínio de email | extractEmailDomain |
| Extrair nome de usuário de email | extractEmailUsername |
| Não Está Vazio | isNotEmpty |
| Índice de | indexOf |
| Último índice de | lastIndexOf |
| Substring | substr |
| Para booleano | toBool |
| Sequência de caracteres para inteiro | string_to_integer |
| Máscara | máscara |
| Obter formato de moeda | formatCurrency |
| Obter valor unicode de caractere | charCodeAt |
| Obter código Qr para qualquer texto | 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 | |
|---|---|
| Nome de exibição | Nome interno |
| Distinto | distinct |
| Entrada | no |
| Não está em | notIn |
| Interseta | cruzamentos |
| Subconjunto de | subsetOf |
| Superconjunto de | supersetOf |
| Inclui | inclui |
| Classificar e obter o primeiro N na matriz | topN |
| Classificar e obter o último N na matriz | bottomN |
| Primeiro item | head |
| Count | contagem |
| Sum | sum |
| Média | média |
| Mínimo | min |
| Máximo | max |
| table 0-row-2 1-row-2 2-row-2 3-row-2 | |
|---|---|
| Nome de exibição | Nome interno |
| Obter | get |
| Chaves | chaves |
| Valores | valores |
| table 0-row-2 1-row-2 2-row-2 | |
|---|---|
| Nome de exibição | Nome interno |
| É nulo | isNull |
| Não é nulo | 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 | |
|---|---|
| Nome de exibição | Nome interno |
| Para porcentagem | toPercentage |
| Arredondar para cima | roundUp |
| Arredondar para baixo | roundDown |
| Para precisão | toPrecision |
| Absoluto | absoluto |
| Aleatória | random |
| Para hexadecimal | toHexString |
| Obter número para localidade | formatNumber |
| Para string | toString |
| Para Int | toInt |
| Para Longo | 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 | |
|---|---|
| Nome de exibição | Nome interno |
| Agora | now |
| Obter CurrentZonedDateTime | getCurrentZonedDateTime |
| Data - Até | toDate |
| Até o horário | toTime |
| Para data hora | toDateTime |
| Somente para data e hora | toDateTimeOnly |
| Somente Até a Data | toDateOnly |
| Somente para horário | toTimeOnly |
| Para Fuso Horário | toTimeZone |
| Formatar data | formatDate |
| Formatar data e hora | formatDateTime |
| Formatar hora | formatTime |
| Data da análise | parseDate |
| Data e hora da análise | parseDateTime |
| Tempo de análise | parseTime |
| Adicionar dias | addDays |
| Adicionar meses | addMonths |
| Adicionar anos | addYears |
| Adicionar Horas | addHours |
| Adicionar Minutos | addMinutes |
| Adicionar segundos | addSeconds |
| Subtrair dias | subtractDays |
| Subtrair meses | subtractMonths |
| Subtrair anos | subtractYears |
| Subtrair Horas | subtractHours |
| Subtrair Minutos | subtractMinutes |
| Subtrair segundos | subtractSeconds |
| Diferença em Dias | diffDays |
| Diferença em meses | diffMonths |
| Diferença em Anos | diffYears |
| Diferença em Horas | diffHours |
| Diferença em Minutos | diffMinutes |
| Diferença em segundos | diffSeconds |
| Início do dia | startOfDay |
| Fim do dia | endOfDay |
| É antes | isBefore |
| É após | isAfter |
| table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 | |
|---|---|
| Nome de exibição | Nome interno |
| Codificar URL | encodeUrl |
| Decodificar URL | decodeUrl |
| Obter parâmetro de consulta de URL | getUrlQueryParam |
| Obter protocolo de URL | getUrlProtocol |
| Obter host de 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