> 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/if-country-in-field-is-one-of.md).

# 字段中的国家是否属于列表

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

## **用途**

此工作流卡片用于判断指定字段中的国家是否属于预定义的国家列表。根据判断结果，工作流可以继续执行真或假条件。它有助于自动化那些需要根据国家是否列于允许或受限国家列表中来决定后续操作的流程。

## **卡片组件：**

1. **字段名称**
   * \*\*描述：\*\*指定存储国家名称或代码的文档字段。
   * \*\*详情：\*\*此字段应与文档中国家数据的字段标识符完全一致。
2. **运算符**
   * \*\*描述：\*\*定义字段中的国家是否必须属于预定义的国家列表。
   * **选项：**
     * \*\*是：\*\*国家必须包含在指定国家列表中，条件才为真。
     * \*\*不是：\*\*国家不得包含在指定国家列表中，条件才为真。
3. **国家**
   * \*\*描述：\*\*指定用于与所选国家进行比较的国家列表。
   * \*\*详情：\*\*此列表以逗号分隔。比较时会检查字段中的国家是否包含在此列表中。
4. **继续条件**
   * \*\*描述：\*\*定义比较结果。如果国家符合条件，工作流将根据指定的布尔值继续执行。
   * **选项：**
     * \*\*真：\*\*条件匹配时，工作流继续执行。
     * \*\*假：\*\*条件不匹配时，工作流继续执行。

## **功能：**

* \*\*条件评估：\*\*系统会评估字段中指定的国家是否属于预定义国家列表，并将国家名称或代码与提供的列表进行比较。
* **操作执行：**
  * **真条件：**\
    如果字段中的国家属于指定国家列表，工作流将按真条件继续执行。这可能会触发后续操作，例如将文档路由到相应部门、应用特定处理规则，或启用特定区域的功能。
  * **假条件：**\
    如果国家与列表不匹配，工作流将按假条件继续执行。根据系统设置，这样可以执行其他操作或停止工作流。

## **设置和配置：**

* 用户通过选择包含国家的文档字段并指定要检查的国家列表来配置此卡片。然后，从下拉列表中选择运算符，以定义该国家是否必须属于指定国家列表。最后，用户设置继续条件（真或假），以决定工作流的下一步。

## **结论：**

“字段中的国家与列表比较”工作流卡片可用于自动化基于国家是否属于预定义分组的操作。通过将国家数据与允许或受限国家列表进行比较，此卡片可提高工作流效率，并确保系统流程遵循正确的地理规则。


---

# 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/if-country-in-field-is-one-of.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.
