> For the complete documentation index, see [llms.txt](https://docs.yellowant.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yellowant.com/workflows/command-workflows/building-command-workflows/logical-functions.md).

# Logical Functions

You can use **concat** and **if-else** formulas in a field.Formulas "concat" and "ifelse" can be applied to a field

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBIunHx5knGco-2ADQ%2Fscreely-1536731033852.png?alt=media\&token=a0ed1daa-10ac-485f-9c5d-c8271ad382b0)

**concat**: The ‘concat’ function allows you to join text/dynamic input in 1 string. Just select the concat function and add the text/dynamic input you want to concatenate.You can concatenate text, dynamic inputs or a combination of both

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBJx-Upd4aySsNEsA4%2Fscreely-1536731343228.png?alt=media\&token=03148e9b-41c4-4eaf-b9a0-d43260c8a33a)

**ifelse**: The if-else function allows you to you check a dynamic input for a condition and perform actions based on whether or not they are true. Once you select the ifelse function, a variety of formulas will be available to apply on your dynamic inputs:ifelse contains a condition (with logical operators), true\_input and false\_input

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBLEJhwISRfk6gg_Kq%2Fscreely-1536731683143.png?alt=media\&token=ba735a78-7eec-4c20-8a52-4f36a197f929)

* **contains** (checks for whether a string is in a parent string)

An example of "contains" operator

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBLiJvVm3q34HNoDx_%2Fscreely-1536731803308.png?alt=media\&token=d772c0cb-9559-48ff-93f1-bd579774527e)

* **and** (combines 2 conditions such that the function is only true if both conditions are true)
* **or** (combines 2 conditions such that the function is true if either condition is true)
* **lt** (checks whether the variable on the left is less than the variable on the right)
* **gt** (checks whether the variable on the left is greater than the variable on the right)
* **lte** (checks whether the variable on the left is less or equal to than the variable on the right)
* **gte** (checks whether the variable on the left is greater than or equal to the variable on the right)
* **not equal** (compares 2 values and returns True if they are unequal)
* **equal** (compares 2 values and returns True if they are equal) expression
