Configure Schedule Instance Conditions¶
You can define the start and end of a journey's instances by specifying schedules.
Tip
When a schedule condition is set, the system can show you upcoming instances for visibility into future events.
Summary of behaviors¶
Start a new instance¶
A new instance starts each time a schedule is met.
Note, the default start condition always applies in addition to a schedule condition.
End an active instance¶
The instance in progress ends each time a schedule is met.
By default, Observability always ends an active instance when a new instance starts for the same journey.
How to¶
You can set a start and/or end schedule condition for instances.
The following describes how to configure schedule conditions for a journey that's already been created. Note that instance conditions can also be set during journey creation.
- Select Journeys from the menu > choose a journey from the list > select the Settings tab.
- Under Instance Conditions, click Edit journey instance conditions.
-
Optional. Create a schedule start condition.
- Under Start a new instance, select Schedule.
- Click in the field.
-
Select the timeframe: Every x hours, Every x days, On certain days, or Custom.
Tip
Use Custom cron expressions in your expectations. See Cron Expressions in Observability for what's supported.
-
Complete the schedule details.
- Verify that the Next Time calculated by the system aligns with your expectations. Make adjustments if needed.
- Click Apply.
-
Optional. Create a schedule end condition.
- Under End an active instance, select Add Condition.
- Select On schedule.
- Click in the field.
- Select the timeframe, complete the schedule details, and verify that the Next Time aligns with your expectations.
- Click Apply.
-
When done, click Save.
At any point, click Cancel to end without saving.
How to change a start condition¶
From the journey details Settings tab, click Edit journey instance conditions under Instance Conditions.
Select a different start condition type and configure the details. Then, click Save.
How to remove an end condition¶
From the journey details Settings tab, click Edit journey instance conditions under Instance Conditions.
For the end condition you want to remove, click Delete. Then, click Save.