Skip to main content
Level 2
Sep 21, 2023 6:41 PM UTC
Solved

Conditions: Persisting Values Across Conditions in Journey Optimizer and Else If Blocks in Conditions' Advanced Expression Editor and Looping

1. Is there a method by which I can persist values across journey conditions using advanced expression editor?

2. Can I use else if blocks in advanced expression editor?

3. I want to iterate through a set of conditions, but AJO does not allow for looping. Any ideas?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
akshaaga
akshaagaAccepted solution
Adobe Employee
Oct 14, 2023 2:03 PM UTC

@jm_11 ,

 

In AJO, the Advanced Expression Editor is typically used to define conditions and expressions for decision splits within a journey. It doesn't natively support the persistence of values across multiple conditions. However, you can work around this limitation by creating attributes within the platform to store and update values that need to persist across conditions. These attributes can be set, updated, and checked as the journey progresses.

 

Else If Blocks in Advanced Expression Editor: AJO's Advanced expression Editor does not directly support "else if" blocks. Decision splits are typically handled using a series of individual conditions, and they follow a strict "if-then-else" logic. You can have multiple conditions and specify what should happen if each condition is met, but it may not have the same visual structure as traditional "else if" blocks.

 

Iterating Through Conditions: Adobe Journey Optimizer doesn't have native looping capabilities. To iterate through a set of conditions, you would generally set up multiple individual decision splits for each condition you want to evaluate. While this can lead to a more complex decision tree, it allows you to evaluate each condition separately.

3 replies

Manoj_Kumar
Community Advisor
Community Advisor
Sep 25, 2023 12:22 AM UTC

Hello @jm_11 

 

You can use If else for conditions and Each function to loop through arrays.

Each function documentation: Helpers | Adobe Journey Optimizer

If function documentation: Helpers | Adobe Journey Optimizer

Translate
Manoj  | https://themartech.pro
jm_11Author
Level 2
Sep 25, 2023 12:44 PM UTC

These functions are for personalization for content management purposes unfortunately, and not available for conditions withing the journey.

Translate
akshaaga
Adobe Employee
akshaagaAdobe EmployeeAccepted solution
Adobe Employee
Oct 14, 2023 2:03 PM UTC

@jm_11 ,

 

In AJO, the Advanced Expression Editor is typically used to define conditions and expressions for decision splits within a journey. It doesn't natively support the persistence of values across multiple conditions. However, you can work around this limitation by creating attributes within the platform to store and update values that need to persist across conditions. These attributes can be set, updated, and checked as the journey progresses.

 

Else If Blocks in Advanced Expression Editor: AJO's Advanced expression Editor does not directly support "else if" blocks. Decision splits are typically handled using a series of individual conditions, and they follow a strict "if-then-else" logic. You can have multiple conditions and specify what should happen if each condition is met, but it may not have the same visual structure as traditional "else if" blocks.

 

Iterating Through Conditions: Adobe Journey Optimizer doesn't have native looping capabilities. To iterate through a set of conditions, you would generally set up multiple individual decision splits for each condition you want to evaluate. While this can lead to a more complex decision tree, it allows you to evaluate each condition separately.

Translate