> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/automations/queries-and-conditions/working-with-conditions/formula-conditions.md).

# Formula conditions

* Select Formula condition type.
* Select Context Object and Item and insert to your formula section. Combining different context objects and context object items create formula expression.

See more on using Context Object at [Working with context objects](/automations/global-actions-and-action-groups/basics/working-with-context-objects.md). See more on using Functions in formula at [using Functions](/automations/functions-and-formulas/introduction-and-usage.md).

![](/files/16ff3b71bcaf04dd4a39e9b3efdf2b1051c205c1)

## Formula type condition operators

Following operators can be used when creating logic for Formula condition type:

* `||` evaluates if at least one of multiple values or expressions is true. Use this operator as an alternative to the logical function OR.
* `&&` evaluates if two values or expressions are both true. Use this operator as an alternative to the logical function AND.
* `<=`evaluates if a value is less than or equal to the value that follows this symbol.
* `>=` evaluates if a value is greater than or equal to the value that follows this symbol.
* `>` evaluates if a value is greater than the value that follows this symbol.
* `<` evaluates if a value is less than the value that follows this symbol
* `!=` evaluates if two values are not equivalent
* `=` evaluates if two values are equivalent
* `+` calculates the sum of two values.
* `-` calculates the difference of two values.
* `*` Multiplies its values.
* `/` Divides its values.
* `(` and `)` Specify that the expressions within the open parenthesis and close parenthesis are evaluated first. All other expressions are evaluated using standard operator precedence.

## Example

Following formula condition will be met if Opportunity Name starts with 'Thompson & Co.', Stage is not Closed/Lost or Closed/Won and Probability value equals to or greater than 80%.

![](/files/af5413748a19eb0fc708123587d28b1564867a37)
