Checking Whether a Flag Is Set in an Expression
5 min
overview you can check whether a flag is set by evaluating the flag path directly in an expression use case use this when you need to confirm whether a specific default flag is enabled for a service or application expression \=//services/applications/adobe acrobat/defaultflags/supportupdate expected result if the flag is set, the expression returns true if the flag is not set, the expression returns false key points the expression should point directly to the flag value the result behaves like a simple boolean check this can be used in conditions, validators, or other expression driven logic replace the service, application, and flag names as needed for your environment notes the original example used the supportupdate flag under the adobe acrobat default flags