> 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.md).

# 与（And）

使用 **And** 卡片，在 **When** 触发器之后决定工作流是否继续。在 **Then** 操作之前添加所需的检查。每张卡片都会显示需要填写的字段，例如 **Operator**、**Field Name** 或 **Value**；截图展示的是可用的卡片模板，而非已完成的规则。

在 **Workflow Builder** 中，选择 **And...** 下方的 **Add Card**。在左侧选择类别，或在 **Search Card** 中输入卡片名称。选择卡片预览，将其添加到工作流中。你可以滚动预览列表查看更多卡片。使用 **×** 关闭选择器，而不选择其他卡片。配置完卡片后，保存工作流。有关 **When**、**And** 和 **Then** 各步骤的整体说明，请参阅 [工作流](/chinese/guan-li-yu-she-zhi/workflow.md)。

## 与采购订单比较

使用这些卡片，将订单或发票数据与采购订单进行比较，例如单价、承诺交货日期、费用或数量。根据所选卡片的要求选择字段、运算符和任何容差。各张卡片的详情请参阅[与采购订单比较](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/compare-with-purchase-order.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-5674879ca781360e2f3ae5c17dd6b26808f0c027%2Fand-category-po-comparison-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Compare with Purchase Order；可见的预览包括单价、交货日期、费用和数量比较。"><figcaption><p>Sandbox 英文环境中的 Compare with Purchase Order 类别。</p></figcaption></figure>

## 文档字段

选择此类别可检查复选框或字段状态、将字段与某个值进行比较，或比较两个字段。在所选卡片中填写 **Field Name** 和 **Operator** 占位字段。有些比较还会要求填写容差。请参阅[文档字段](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document-field.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-2c4de967e24975ce63c579a45aa1a39c265358db%2Fand-category-document-field-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Document Field；可见的预览用于检查复选框、字段状态、字段值和两个字段之间的比较。"><figcaption><p>文档字段检查使用当前文档中的值。</p></figcaption></figure>

## 日期和时间

使用 **Date & Time** 将日期或时间与范围进行比较，或将 **Today** 与选定日期进行比较。在卡片中选择 **Operator** 和日期值。请参阅[日期和时间](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/date-and-time.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-29d42329ba34ce316ec990d9d8a1e895f3d86b2e%2Fand-category-date-time-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Date &#x26; Time；两个预览分别将日期或时间与范围进行比较，以及将 Today 与 Date 进行比较。"><figcaption><p>Date &#x26; Time 提供范围检查和与今天日期进行比较的检查。</p></figcaption></figure>

## 文档

当工作流需要根据**文档类型**或**子组织**进行判断时，使用这些卡片。选择卡片中指定的类型或组织。请参阅[文档](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/document.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-8a00856629a2950551c057566c67f5c3df60bb08%2Fand-category-document-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Document；预览用于检查文档类型以及是否属于某个子组织。"><figcaption><p>文档条件用于检查类型或子组织。</p></figcaption></figure>

## 逻辑

此类别包含多种检查：使用决策表、HTTPS 响应、模块可用性、报价项目价格、概率值或两个值进行检查。打开相应卡片并填写其命名占位字段；例如，HTTPS 卡片要求填写 URL、方法和可接受的状态代码。请参阅[逻辑](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/logic.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-be91b58b75afb6dccbe385817ab07ca9eb62fa29%2Fand-category-logic-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Logic；预览包括决策表、HTTPS 请求、模块激活状态、报价价格、概率和数值比较卡片。"><figcaption><p>Logic 提供多种不同的条件类型；请选择符合规则要求的类型。</p></figcaption></figure>

## 状态

使用 **Status** 检查文档是否具有选定状态，或其状态是否属于选定集合。在卡片中选择 **Operator** 和 **Status**。请参阅[状态](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/status.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-40b7c30e451752ad64b564629211f2ce7b0a4e9c%2Fand-category-status-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Status；两个预览分别将 Document status 与单个 Status 或一组状态进行比较。"><figcaption><p>状态条件用于检查当前文档状态。</p></figcaption></figure>

## 表格

这些卡片用于检查文档表格行。可见选项包括日期检查、文本模式、保质期以及列之间的比较。选择运算符或模式之前，请先选择 **Table name** 和 **Column Name**。请参阅[表格](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/table.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-95de9cc2dc1b7ec761c97125ce7579bc335fe57b%2Fand-category-table-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Table；可见的预览包括日期、正则表达式模式、保质期和表格列比较。"><figcaption><p>表格条件使用文档表格中的行和列。</p></figcaption></figure>

## 与报价价格比较

使用这些卡片将项目与报价价格数据进行比较。可见选项涵盖项目 ID、供应商类型、供应商项目 ID、单价和计量单位。**Operator** 和数据占位字段取决于所选卡片。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-5372750e89e6a8b012ed7f64643dadf42e849815%2Fand-category-quote-price-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Compare with Quote Price；五个预览涵盖项目 ID、供应商类型、供应商项目 ID、单价和计量单位。"><figcaption><p>在当前卡片选择器中，Compare with Quote Price 是单独的类别。</p></figcaption></figure>

## 受派人

当条件取决于受派用户或组时，使用 **Assignee**。选择要与单个用户或组比较，还是与所选集合进行比较。请参阅[受派人](/chinese/guan-li-yu-she-zhi/workflow/cards-overview/and/assignee.md)。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-8fb39d3833dfdf3d49ddd7096962d6a847029941%2Fand-category-assignee-en.png?alt=media" alt="英文 And 卡片选择器，已选中 Assignee；预览用于将受派用户或组与一个或多个选项进行比较。"><figcaption><p>受派人条件用于检查分配给文档的用户或组。</p></figcaption></figure>


---

# 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.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.
