[Limited Availability]{class="badge informative"}
Use formulas to rank journeys journey-ranking-formulas
Adobe Journey Optimizer helps you control which journeys a profile can enter when they qualify for more than the system allows. To do so, you can use rule sets to define caps on journey entry or concurrency. When a profile is eligible for more journeys than the cap allows, the priority assigned to each journey determines which journeys are selected.
Instead of using priority, you can also use ranking formulas to dynamically adjust the ranking of journeys based on journey attributes, profile attributes, or AI model scores.
Formulas give you more flexibility than static priority. For example, you can boost a journey for gold loyalty members.
Create a ranking formula create-journey-ranking-formula
To create a ranking formula for your journeys, follow the steps below.
-
Access the Orchestration ranking section, then select the Ranking formulas tab. The list of previously created formulas is displayed.
-
Click Create formula.
-
Specify the formula name and add a description if desired.
{width="80%"}
note note NOTE The ranking object is the entity that the ranking formula will apply to. By default, the ranking object is set to Journey. -
Optionally, click Select AI model to set the model that will be used as a reference to build your ranking formula.
-
In the Criterion 1 section, specify which journeys you want to apply a ranking score to by doing the following:
- select a journey attribute (such as journey name, tags, priority, or other journey properties);
- select a logical operator;
- add a matching condition - you can either type/select a value, or choose a profile attribute.
{width="70%"}
-
Optionally, you can specify additional elements to refine the matching conditions for your criteria to be true.
{width="70%"}
For example, you defined Criterion 1 such as Journey tags contain Loyalty. Additionally, you can add another condition such as if the Loyalty status equals Gold, then Criterion 1 is true.
-
Create an expression that will assign a ranking score to the journeys that meet the condition defined above. You can reference any of the following:
-
a variable:
- the journey priority, which is a manual value assigned to the journey when creating a journey;
- the score that came out of the AI model that you optionally selected above;
-
an attribute:
- any attribute that might live on the profile, such as any externally derived propensity score;
- a journey attribute;
-
a static value that you can assign in a free format;
-
a combination of all the above.
{width="70%"}
-
-
Click Add criterion to add one or more criteria as many times as needed. The logic is as follows:
- If the first criterion is true for a given decision item, it takes precedence over the next ones.
- If not true, the decisioning engine moves on to the second criterion, and so on.
-
Once you defined all your criteria, in the last field, you can build an expression that will be assigned to all journeys that do not meet the above criteria.
{width="70%"}
-
Click Create to complete your ranking formula.
You can now select this formula from the list to view its details, and edit or delete it. It is then available when you configure a rule set. Learn how
Ranking formula examples journey-ranking-formula-example
Consider the examples below.
If the journey has a “Marketing” tag, the ranking score is the journey priority.
If the journey has a “Promo” tag, the ranking score is the AI model score.
If the journey has a “Loyalty” tag and the profile’s loyalty status is Gold, the ranking score that is used is the journey priority plus 5.
If the journey has a “Loyalty” tag and the profile’s loyalty status is Silver, the ranking score is the journey priority plus 2.
If none of the above conditions are met, the ranking score that is used is the journey priority.
Use the code editor journey-ranking-formula-code-editor
To express ranking formulas in PQL syntax, switch to the code editor using the dedicated button on top right of the screen. For more on how to use the PQL syntax, refer to the dedicated documentation.
You can then leverage journey attributes, profile attributes, and static values to build your ranking formula.
Assign the formula to a rule set assign-formula-to-ruleset
To use a formula to rank your journeys, you need to assign it to a rule set.
-
From the Business rules menu, create a rule set you want to use for journey arbitration. Learn how
-
Make sure you select the Journey domain.
{width="60%"}
-
In the rule set properties, set the Ranking method to Formula (instead of the default Priority).
-
Select the ranking formula that you created from the drop-down list.
{width="60%"}
-
Create the journey capping rules you want to add to the rule set. Learn how
-
Save the rule set.
Now the formula is assigned to the rule set. You can then apply that rule set to your journeys.
Apply the rule set to a journey assign-rule-set-to-journey
To assign the rule set to a journey, follow the steps below.
-
Create or open the journey you want to assign the rule set to. Learn how to create a journey
-
In the journey properties, select the rule set from the drop-down list. Learn how.
note note NOTE Only one rule set can be applied to a journey at a time. -
Save the journey.
All journeys that use this rule set will be ranked with the selected formula when the cap is applied.
To monitor how your rule sets and ranking formulas perform, see the Journey Capping and Conflicts section in the Overview report.