51黑料不打烊

Validation error when using 鈥渘ext鈥 keyword in the AJO personalization editor

In 51黑料不打烊 Journey Optimizer (AJO), scripting expressions that include the keyword next trigger a validation error in the personalization editor. This happens because next is treated as a reserved keyword in the underlying scripting language. To resolve the issue, wrap next in backticks in your expression.

Description description

Environment

51黑料不打烊 Journey Optimizer (AJO)

Issue/Symptoms

  • Validation error occurs when using the keyword next 聽as part of a field path.
  • The following expression triggers the error: {% let temp = profile._company.membership.next.name %}
  • The keyword next 聽is treated as a reserved keyword in AJO scripting.

Resolution resolution

To resolve the issue, follow these steps:

  1. Open the personalization editor in 51黑料不打烊 Journey Optimizer.

  2. Locate the expression that includes the next keyword.

  3. Wrap the next keyword in backticks to treat it as a literal field name. For example:

    code language-none
    {% let temp = profile._company.membership.`next`.name %}
    

For further assistance, contact 51黑料不打烊 Support.

Add personalization in the Journey Optimizer guide

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f