No results for ""
EXPAND ALL
  • Home
  • API docs

Creating scheduled flag changes

Read time: 2 minutes
Last edited: Nov 12, 2024

Overview

This topic explains how to create scheduled flag changes to take effect at a date in the future.

Create scheduled flag changes

To schedule a set of flag changes:

  1. Navigate to the Flags list and select the flag for which you want to schedule targeting changes. The flag's Targeting tab appears.
  2. Make the changes you want to the flag’s targeting.
  3. Click the dropdown icon in the Review and save button and select Schedule changes:
The "Schedule changes" option below the "Review and save" button.
The "Schedule changes" option below the "Review and save" button.
  1. In the "Schedule" section, select a date, time, and timezone for when you want the changes to execute, or click on the calendar icon to expand a calendar view:
The change scheduling calendar.
The change scheduling calendar.
  1. Click Apply.
  2. Review and confirm the changes displayed in the dialog.
  3. If your environment requires approvals for flag changes, enter a description and choose one or more reviewers.
  4. (Optional) Enter a comment.
  5. Click Schedule changes.

Your changes have now been scheduled.

You can schedule multiple changes for different dates and times for a single flag. For example, you can implement a progressive rollout strategy by scheduling multiple sequential changes to targeting rules.

Here is an image of a flag with multiple changes scheduled:

A flag with multiple changes scheduled.
A flag with multiple changes scheduled.

If you use scheduled flag changes to schedule context removal dates, but an approver approves the request after the scheduled date and time of the context removal, LaunchDarkly prevents you from applying the change. To learn more about scheduling, read Schedule context removal from segments.

You can also use the REST API: Create scheduled changes workflow.

Create scheduled flag changes that require approvals

Enterprise customers can require approvals for scheduled flag changes. If approvals are required, the change is marked "Pending Review" in the "Pending changes" panel.

If there are conflicts between changed flags and requested changes, approved and applied changes take precedence over pending or requested changes. To learn more, read Manage conflicts with scheduled changes.