Once a flag is created, you can easily enable and disable features in your application - giving you full control over how users are able to interact with your application.
There is an important relationship between apps, environments, and flags that allows for increased reusability and scalability.
Apps are the highest-level in the hierarchy, encompassing unique environments and flags underneath them. Apps should reflect the individual products and services your organization may have. It should not reflect one app in several states of servers.
Environments represent your deployment pipeline: production, staging, or testing. CloudBees Feature Management supports working with multiple environments. Refer to Environments for more information.
Flags are shared between environments, but the feature flag configuration can be different in each environment.
A flag default value is the value of the flag that is created when defining flags in the code. Default values are mandatory and flags cannot be created without them. They will be served when there is no configuration available (for any reason) or no other value overrides it.
A boolean flag is false by default. To override the value, pass the desired value to the flag.
A string flag has an explicit configuration for its default value. In most languages, the first value would be the default value followed by an array of potential values.
The Overview screen lists all feature flags along with the following information:
The flag creation date
The status of the flag within each environment
You can sort table contents by selecting a column heading. Columns can be sorted in ascending or descending order.
Select the trash can icon to go to the Cleanup page, which helps you determine if it’s safe to delete the flag.