Condition activity condition-activity
These types of conditions are available:
About the Condition activity about_condition
When using several conditions in a journey, you can define labels for each of them to identify them more easily.
Click Add a path if you want to define several conditions. For each condition, a new path is added in the canvas after the activity.
Note that the design of journeys has functional impacts. When several paths are defined after a condition, only the first eligible path will be executed. It means that you can vary the prioritization of paths by placing them above or below one another.
For example, let’s take the example of a first path’s condition “The person is a VIP” and a second path’s condition “The person is a male”. If a person meeting both conditions (a male who is a VIP) passes this step, the first path will be chosen even if this person is also eligible to the second one, because the first path is “above”. To change this priority, move your activities in another vertical order.
You can create another path for audiences that are not eligible to the defined conditions by checking Show path for other cases than the one(s) above. Note that this option is not available in split conditions. See Percentage split.
The simple mode allows you to perform simple queries based on a combination of fields. All the available fields are displayed on the left side of the screen. Drag and drop fields into the main zone. To combine the different elements, interlock them into one another to create different groups and/or group levels. You can then select a logical operator to combine elements on the same level:
- AND: an intersection of two criteria. Only the elements matching all criteria are taken into account.
- OR: a union of two criteria. Elements matching at least one of the two criteria are taken into account.
If you’re using the Adobe Experience Platform Segmentation Service to create your audiences, you can leverage them in your journey conditions. Refer to Using audience in conditions.
When an error occurs in an action or a condition, the journey of an individual stops. The only way to make it continue is to check the box Add an alternative path in case of a timeout or an error. See this section.
In the simple editor, you will also find the Journey Properties category, below the event and data source categories. This category contains technical fields related to the journey for a given profile. This is the information retrieved by the system from live journeys, such as the journey ID or the specific errors encountered. Learn more
Data Source condition data_source_condition
Use a Data Source condition to define a condition based on fields from the data sources or the events previously positioned in the journey. This type of condition is defined with the expression editor. Learn how to use the expression editor in this section.
For example, if you are targeting an audience with enrichment attributes generated using a composition workflow or a custom upload (CSV file), you can leverage these enrichment attributes to build your condition.
Using the advanced expression editor, you can setup more advanced conditions manipulating collections or using data sources requiring the passing of parameters. Learn more.
Time condition time_condition
Use a Time condition to perform different actions according to the hour of the day and/or the day of the week. For example, you can decide to send push notifications during daytime and emails at night during weekdays.
-
The time zone is not specific to a condition and is defined at the journey level in the journey properties. Learn more in this page.
-
By default, the Time condition is set by hour, from 00:00 to 12:00.
Three time filtering options are available:
- Hour: allows you to set up a condition based on the time of the day. You then define the start and end times. Individuals will enter the path only during the defined hour range.
- Day of the week: allows you to set up a condition based on the day of the week. You then select which days you want individuals to enter the path.
- Day of the week and hour: this option combines the first two options.
Percentage split percentage_split
This option allows you to randomly split the audience to define a different action for each group. Define the number of splits and the repartition for each path. The split calculation is statistical as the system cannot anticipate how many people will flow in this activity of the journey. As a result, the split has a very low error margin. This function is based on a Java random mechanism (see this page).
In test mode, when reaching a split, the top branch is always chosen. You can reorganize the position of the split branches if you want the test to choose a different path. Refer to this page
Date condition date_condition
This allows you to define a different flow based on the date. For example, if the person enters the step during the “sales” period, you’ll send them a specific message. The rest of the year, you’ll send another message.
Profile cap profile_cap
Use this condition type to set a maximum number of profiles for a journey path. When this limit is reached, the entering profiles take an alternate path. This ensures that your journeys will never exceed the limit defined.
The default cap is 1,000.
The counter applies only to the selected journey version. The counter resets to zero when the journey is duplicated or when a new version is created. After a reset, the entering profiles take the nominal path again until the counter limit is reached.
When profile cap is defined on a recurring journey, the counter does not reset after each recurrence.
The nominal path always has priority over the alternate path, even if you move the alternate path above the nominal path on the journey canvas.
For live journeys, here are the thresholds to consider to ensure the limit is reached:
- For a cap greater than 10,000, the number of distinct profiles to be injected must be at least 1.3 times the cap.
- For a cap below 10,000, the number of distinct profiles to be injected must be 1000 plus the cap.
Profile cap is not taken into account in test mode.
Using audiences in conditions using-a-segment
This section explains how to use an audience in a journey condition. For more on audiences and how to build them, refer to this section.
To use an audience in a journey condition, follow these steps:
-
Open a journey, drop a Condition activity and choose the Data Source Condition.
-
Click Add a path for each extra path needed. For each path, click the Expression field.
-
On the left side, unfold Audiences node. Drag and drop the audience you want to use for your condition. By default, the condition on the audience is true.
note note NOTE Note that only the individuals with the Realized and Existing audience participation statuses will be considered as members of the audience. For more on how to evaluate an audience, refer to the Segmentation Service documentation.