# Set Checkbox to

<figure><img src="/files/HYt6tCNHJI6mELyvv8z7" alt="" width="563"><figcaption></figcaption></figure>

## **Purpose:**

This workflow card is designed to set a checkbox field to a specified value (true or false) based on the conditions defined in the **"Where"** and **"And"** sections. It provides a simple yet effective way to automate checkbox updates when certain criteria are met, ensuring streamlined document processing.

## **Components of the Card:**

1. **Field Name:**
   * **Description**: Specifies the field where the checkbox will be set.
   * **Detail**: The checkbox field to be updated is identified by the field name.
2. **Boolean**
   * **Description**: Defines the value that the checkbox field will be set to when the conditions in the **Where** and **And Sections** are both true.
   * **Options**:
     * **True**: The checkbox will be set to **true** if the conditions are met.
     * **False**: The checkbox will be set to **false** if the conditions are met.

## **Functionality:**

* **Condition Evaluation**: The system evaluates the conditions in both the **"Where"** and **"And"**
* **Action Execution**: If both the **"Where"** and **"And Sections"** evaluate to true, the checkbox field will be updated to the specified value (true or false). If either condition is false, no actions are taken, and the checkbox remains as it was.

## **Setup and Configuration:**

To configure this card, users need to:

1. **Specify the target checkbox field** that will be set to true or false when the conditions are met.
2. **Choose the value (true or false)** that the checkbox will be set to upon condition evaluation.
3. The card only executes its action if both conditions in the **"Where"** and **"And Sections"** are evaluated as true.

## **Conclusion:**

The **"Set Checkbox"** workflow card is a simple and effective automation tool to update checkbox fields based on specific conditions. By ensuring both **"Where"** and **"And Sections"** are met, it allows users to automate processes and reduce manual intervention, ensuring smoother and more efficient document processing.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.docbits.com/administration-and-setup/workflow/then/document-field/set-checkbox-to.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
