Expand my Community achievements bar.

Dive in, experiment, and see how our AI Assistant Content Accelerator can transform your workflows with personalized, efficient content solutions through our newly designed playground experience.
SOLVED

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

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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.

View solution in original post

3 Replies

Avatar

Community Advisor

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


     Manoj
     Find me on LinkedIn

Avatar

Level 2

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

Avatar

Correct answer by
Employee Advisor

@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.