# Cannot use a target to enable a flag that is disabled in Harness

## What's going on

In Harness Feature Flags, you can add a target rule to disable an enabled flag, but not to enable a disabled flag: target variations are only evaluated when the flag is ON. It looks like a bug but it is how the evaluator works.

## The verified fix

Flip the flag ON and make the default rule serve False, then add target rules that serve True for the users you want. That gives you off-for-everyone except specific targets, which is the intended way to do it.

Source: https://github.com/harness/ff-java-server-sdk/issues/141

## How to use this

Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.
