Skip to content

Commit

Permalink
docs: add some first info on overrides.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Dec 7, 2021
1 parent 80afb25 commit 16c3255
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions website/docs/advanced/feature-toggle-variants.md
Expand Up @@ -56,6 +56,18 @@ For instance, if you have three variable weight variants and two fixed weight va
2. Divide the remainder by the number of variable weight variants: 60 / 3 = 20
3. Assign each variable weight variant the same (up to rounding differences) weight: 20%

#### Overrides

The weighting system automatically assigns users to a specific group for you. If you want to make sure that a specific user or group of users receives a certain variant, though, you can use the override functionality to achieve that.

When adding an override, you choose a [field from the Unleash Context](../user_guide/unleash_context) and specify that if a context contains one of a given list of values, then the current variant should always activate.

You can use both standard and custom context fields when creating overrides.

Each variant can have multiple overrides, so you can use any number of context fields you want to group people.

If two variants have the same override, then ...

### Variant payload

Each variant can have an associated payload. Use this to add more context or data to a payload that you can access on the client, such as a customized message or other information.
Expand All @@ -66,8 +78,6 @@ Unleash currently supports these payload types:
- CSV
- String

### Overrides

### Variant stickiness

Do you want to facilitate more advanced experimentations? Do you want to use Unleash to handle your A/B experiments? Say hello to feature toggle variants!
Expand Down

0 comments on commit 16c3255

Please sign in to comment.