Learn how FlagSync applies targeting rules during flag evaluation.
Flags can have targeting rules to serve specific variants to user groups based on attributes:
Define Rules
Set rules in the dashboard using attributes (e.g., jobTitle = "QA Tester"
).
Learn more about targeting in Flags: User Segments.
Evaluate Clauses
Within a rule, clauses use logical OR—e.g., serve “Enabled” to users with jobTitle
of “QA Tester” or “PM”.
Apply First Match
If a flag has multiple rules, the first matching rule determines the variant served.
Halt Evaluation
A matched rule stops further evaluation; otherwise, it proceeds to Rollouts.
Continue exploring flag evaluation: