Skip to content

Feature Usage Limits and Quotas #3253

Answered by ivarconr
jbuijgers asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! Good questions, and yes this can be accomplished using Unleash!

You could use custom context fields together with strategy constraints to define such rules.

  1. Define a context field, call it "usersCount". Create a toggle and add a standard activation strategy with a numeric strategy constraint. It would look something like this:

In you code, when using the SDK to evaluate the toggle, please remember to add "userCount" as part of the context when evaluating.

  1. Same as previous, but add a field for emails per month instead.

Good luck!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jbuijgers
Comment options

Answer selected by jbuijgers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants