> 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/logic/module-active.md).

# 模块激活状态

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

## **用途：**

此 DocBits 卡片用于检查系统中的特定模块是否处于激活或未激活状态。它可以根据模块的激活状态控制工作流是否继续，确保仅在所需模块可用时执行相应操作。

## **功能：**

* **模块状态验证：** 此卡片会验证指定模块的激活状态，并根据用户定义的条件进行判断。
* **模块选择：** 用户指定要检查的模块名称，确保验证准确无误。
* **运算符：** 可应用以下条件：
  * **是：** 所选模块处于激活状态时，工作流继续。
  * **不是：** 所选模块处于未激活状态时，工作流继续。

## **用法：**

对于需要创建依赖特定模块可用性或功能的工作流的管理员或系统管理人员，此卡片尤其有用。它有助于确保仅在所有必需模块均已正确配置时执行工作流。

## **示例场景**

* 用户配置此卡片，检查 **“Document Processing”** 模块是否**处于激活状态。** 如果模块已激活，工作流将继续并触发自动化文档处理任务。如果模块未激活，工作流将停止，以避免不必要的操作。

通过使用“Module Active Check”卡片，组织可以提高工作流的可靠性，避免因模块未激活而导致的错误，并确保流程与系统配置保持一致。


---

# 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/logic/module-active.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.
