> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document-field/docfield-is.md).

# Docfield is

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-7b87efeeec3d21930f9248e19411818d5208fc2a%2Fimage%20(51).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## **用途：**

此工作流卡片旨在通过将指定文档字段的值与参考值或条件进行比较来自动执行操作。它可根据文档数据验证结果，在工作流中实现动态且准确的决策。

## **卡片组件：**

1. **字段名称**
   * **描述：** 指定要评估的文档字段名称。
   * **详情：** 必须与文档中该字段的确切标识符一致。
2. **运算符**
   * **描述：** 定义字段值与参考值之间要执行的比较类型。
   * **选项：**
     * **等于 (=)：** 检查字段值是否与参考值匹配。
     * **不等于 (≠)：** 确保字段值与参考值不同。
     * **大于 (>)：** 确认字段值大于参考值。
     * **大于或等于 (≥)：** 验证字段值是否等于或大于参考值。
     * **小于 (<)：** 检查字段值是否小于参考值。
     * **小于或等于 (≤)：** 确保字段值小于或等于参考值。

## **功能：**

* **条件评估：** 系统会检查文档字段的值相对于其关联列，是否满足运算符和参考值指定的比较条件。
* **操作执行：**
  * **条件为真：**\
    如果文档字段的值满足指定条件（例如，等于参考值），系统会触发关联操作。这些操作可包括更新记录、推进工作流或生成通知。
  * **条件为假：**\
    如果文档字段的值不满足指定条件，则根据工作流配置执行其他操作，或不执行任何操作。

## **设置与配置：**

* 用户选择相关文档的字段名称，并从下拉菜单中选择运算符。然后，用户指定参考字段值以完成配置。

## **结论：**

“DocField Comparison Validation”工作流卡片是一款功能强大的动态文档处理工具。通过根据字段比较结果自动执行操作，此卡片可简化工作流、提高准确性并支持数据驱动的决策。


---

# 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.docbits.com/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document-field/docfield-is.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.
