mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-31 01:16:01 +02:00
Updating the docs - how to add strategy constraints (#5256)
- Adding a new image to indicate that you also need to save the strategy after you add a constraint - Adding a new image showing how the edit constraint section looks like - Update a bit the text to match the new images
This commit is contained in:
parent
2262ca1be6
commit
5c3fe631f0
@ -30,10 +30,16 @@ Refer to [the _constraint structure_ section of the strategy constraints referen
|
||||
|
||||
1. From the "Context Field" dropdown, **select the context field** you would like to constrain the strategy on and **choose the [constraint operator](../reference/strategy-constraints.md#strategy-constraint-operators)** you want.
|
||||
2. **Define the values** to use for this constraint. The operator you selected decides whether you can define one or multiple values and what format they can have.
|
||||
3. **Save the constraint** first, and then **save the strategy**.
|
||||
3. **Save the constraint** first.
|
||||
|
||||

|
||||

|
||||
|
||||
## Step 3: Save the strategy {#step-3}
|
||||
|
||||

|
||||
|
||||
## How to update existing constraints
|
||||
|
||||
To update an existing constraint, find the constraint in the "edit strategy" screen and use the constraint's "edit" button.
|
||||
|
||||

|
BIN
website/static/img/constraints-edit.png
Normal file
BIN
website/static/img/constraints-edit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
BIN
website/static/img/constraints-save-strategy.png
Normal file
BIN
website/static/img/constraints-save-strategy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue
Block a user