Schedule a feature Flag

πŸ“˜

The scheduling feature for feature flags allows you to schedule the activation, deactivation, and traffic changes for feature flags.

With this scheduling feature, you can conveniently manage feature flags by turning them on at a specified time, gradually increasing traffic, and then turning them off. This is particularly useful when launching a specific feature in line with a promotion start date and progressively ramping up traffic.

Set schedule

Click the "Set schedule" button on the feature flag details page.

Set Schedule Button

In the "Set schedule" modal, you can configure the scheduling for feature flag activation, deactivation, and traffic adjustments for each rule.

Configurable Items:

  1. Feature Flag On(Activation) Scheduling
  2. Feature Flag Off(Deactivation) Scheduling
  3. True Traffic Scheduling for User Targeting
    The scheduled True traffic is not gradually distributed over the entire period but rather increases at once to the next specified True traffic percentage.

Configuration Considerations

  1. Scheduling Time
    All schedules must be set for at least 1 hour in the future from the time of configuration.
  2. Traffic
    Only whole numbers between 0(%) and 100(%) can be entered.
  3. Feature Flag Activation/Deactivation
    You cannot schedule an activation if the feature flag is already on, and similarly, you cannot schedule a deactivation if the feature flag is already off.

Scheduling Completion

Once scheduling is successfully completed, up to five upcoming scheduled items will be displayed in order at the top of the page.

Manual Adjustments When a Schedule Already Exists

  1. Manual Changes to Activation/Deactivation Status
    If the feature flag's activation status (on/off) is manually changed while a schedule is already set, all previously scheduled items will be reset.
  2. Manual Changes to User Targeting Traffic
    Traffic adjustments can be made manually, independent of the scheduled settings. However, when the scheduled time arrives, the pre-set configuration will be applied automatically.
    Note that if there is an active schedule, user targeting cannot be deleted.