Add a Prerequisite to Your Flags
A Prerequisite is a Flag you add as a dependency that needs to be met before another Flag can be toggled ON
or OFF
. For example, if you have a Flag that allows users to write Java, the user must be able to read the Java first. Therefore, you add a Prerequisite that the Read_Java
Flag must be enabled before the Write_Java
Flag can be toggled on.
Add a Prerequisite
- Go to the Feature Flag you want to add the Prerequisite to.
- Click + New Prerequisite.

Figure 1: Adding a Prerequisite
- In Add Prerequisites, click + Prerequisites.
- In the first drop-down menu, select the Flag you want to use as a Prerequisite.
- In the second drop-down, select which Variation of the Prerequisite Flag must be served before the Feature Flag can be turned on. For the example below, the Read_Java Flag must be set to
True
before this Flag can be enabled. - Click Save. The Prerequisite Flag is listed on the Feature Flag page and must be met before you can turn on the Feature Flag.

Figure 2: The Read_Java Flag as a Prerequisite to the Write_Java Flag