Skip to main content
Version: v1.9.0

Scheduled rollout

Scheduling introduces the ability for users to changes their flags for future points in time. While this sounds deceptively straightforward, it unlocks the potential for users to create complex release strategies by scheduling the incremental steps in advance.

For example, you may want to turn a feature ON for internal testing tomorrow and then enable it for your ‘beta’ user segment four days later.

Example

scheduled-flag:
variations:
variationA: A
variationB: B
defaultRule:
name: legacyDefaultRule
percentage:
variationA: 100
variationB: 0
scheduledRollout:
- date: 2020-04-10T00:00:00.1+02:00
targeting:
- name: legacyRuleV0
query: beta eq "true"
percentage:
variationA: 0
variationB: 100

- date: 2022-05-12T15:36:00.1+02:00
targeting:
- name: legacyRuleV0
query: beta eq "false"

Configuration fields

info

You can change any fields that are available on your flag. Since your configuration has not been changed manually, it does not trigger any notifier.

FieldDescription
stepsThe only mandatory field in a step is the date.
If no date is provided the step will be skipped.

The other attributes of your step are what you want to update your flag, so every field available in the flag format can be updated.
The new value in a field will override the existing one.

Get the latest GO Feature Flag updates