> For the complete documentation index, see [llms.txt](https://docs.flexikanban.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexikanban.ai/components/forms/basics/working-with-conditions.md).

# Working with Conditions

Conditions allow to apply Styles, Actions, Event and etc. conditionally. They are used in a various places on Forms.

To add a new Condition click "**Add**" button and fill in conditions.

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FLCcG5BEhOeIRfjkwDwRN%2Ffile.excalidraw.svg?alt=media&amp;token=061eba29-ff38-4363-914c-99686aae6aed" alt="" class="gitbook-drawing">

#### Select Object

Conditions work with different type of Context objects:

* **Parameters** - context parameters passed to the action/event/etc.
* **Form** - form components
* **Variables** - form variables
* **Form Objec**t - source object field values (Note! changes done on form not reflected here)
* **FormParameters** - parameters, passed to the form
* **User** - current User info
* **System** - the system global information like current date/time, organization name, etc. &#x20;

Types can differ depending on Context where Conditions are used.

See more details on each Context Object type at [Context Objects](https://docs.flexikanban.ai/components/forms/tools/context-object.md).

#### Select Field Parameter

Field/Parameter values will differ depend on selected Object.&#x20;

#### Select Operator

Can be different types depending on selected field type.

#### Select Value Type

* **Parameters** - context parameters passed to the action/event/etc.
* **Form** - form components
* **Variables** - form variables
* **Static** - allows to enter static value or merge field(s)

#### Select or Enter the Value

Value depends on selected Value Type.

You can enter as many conditions as required. By default all conditions will be joined with AND connector.&#x20;

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FmfJbOvGmJABN8bMPhPyg%2Ffile.excalidraw.svg?alt=media&amp;token=8bb7fc6d-29a1-41aa-9682-9ce1f0d09ee4" alt="" class="gitbook-drawing">

You can set custom join rules in such format:

<img src="https://3097383375-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK2dgObBO5ydOH2ZXDJLa%2Fuploads%2FcqDl1KbYTYDlS3V6dqLh%2Ffile.excalidraw.svg?alt=media&amp;token=7a510359-6e0e-4181-940c-6952f9572038" alt="" class="gitbook-drawing">


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flexikanban.ai/components/forms/basics/working-with-conditions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
