--- title: "Check flag" slug: "frebehav-check-flag" updated: 2026-05-04T12:07:29Z published: 2026-05-04T12:07:29Z canonical: "docs.lobstersoftware.com/frebehav-check-flag" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Check flag *See also:* [Working with flags](/v1/docs/en/fre-flags)*,* [Set flag](/v1/docs/en/freaction-set-flag)*,* [Unset flag](/v1/docs/en/freaction-unset-flag), [Flag changed](/v1/docs/en/fretrigger-flag-changed) > [!NOTE] > The **Behavior type** [Check flag](/v1/docs/en/frebehav-check-flag) executes the **Actions on "true"** or the **Actions on "false"** depending on the state of a flag used in the context of the form: ![images/download/attachments/189432218/image-2024-10-1_12-34-8-version-1-modificationdate-1727778848655-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-2024-10-1_12-34-8-version-1-modificationdate-1727778848655-api-v2.png) The **Behavior type** [Check flag](/v1/docs/en/frebehav-check-flag) executes the **Actions on "true"** or the **Actions on "false"** depending on the state of a flag used in the context of the form: - If the flag is set, the **Actions on "true"** are executed. - If the flag is not set or no **Flag name** is specified (see below), the **Actions on "false"** are executed. In both cases, input data `$input`) is transferred unchanged to the actions. The **Flag name** parameter identifies the flag to be checked. It can be entered directly or selected from a list of flag names already used in the form using a dropdown list. More information about the concept and an example of use is described on the page [Working with flags](/v1/docs/en/fre-flags).