Skip to content

Commit

Permalink
docs(4.3): update the custom strategy documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Dec 14, 2021
1 parent 74aa185 commit d59d2f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/advanced/custom-activation-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ In this example we want to define an activation strategy offers a scheduled rele

First we need to "define" our new strategy. To add a new "Strategy", open the Strategies tab from the sidebar.

![timestamp_create_strategy](/img/timestamp_create_strategy.png)
![A strategy creation form. It has fields labeled \"strategy name\" and \"description\". It also has fields for a parameter named \"enableAfter\". The parameter is of type \"string\" and the description is \"Expected format: YYYY-MM-DD HH:MM\". The parameter is required.](/img/timestamp_create_strategy.png)

We name our strategy `TimeStamp` and add one required parameter of type string, which we call `enableAfter`.

#### Use custom strategy {#use-custom-strategy}

After we have created the strategy definition, we can now decide to use that activation strategy for our feature toggle.

![timestamp_use_strategy](/img/timestamp_use_strategy.png)
![The strategy configuration screen for the TimeStamp strategy. It shows the strategy from above with a date entered into the \"enableAfter\" field.](/img/timestamp_use_strategy.png)

In the example we want to use our custom strategy for the feature toggle named `demo.TimeStampRollout`.

Expand Down
Binary file modified website/static/img/timestamp_use_strategy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d59d2f1

Please sign in to comment.