> 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/then/task/assign-a-task-with-title.md).

# 分配带标题的任务

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

## **用途：**

“Assign Task / Notification from Decision Table”工作流卡片旨在根据决策表的结果动态分配任务或通知。此卡片可确保根据决策表中定义的逻辑，将任务或通知分配给正确的用户或群组，并可选择向接收者发送电子邮件通知。

## **卡片组件：**

1. **标题**
   * **说明**：指定要创建的任务或通知的标题。
   * **详情**：标题应提供背景信息，并说明任务或通知的用途。
2. **描述**
   * **说明**：定义任务或通知的内容或用途。
   * **详情**：提供有关任务或通知的更多信息，解释其背景或需要执行的操作。
3. **优先级**
   * **说明**：定义任务或通知的紧急程度。
   * **选项**：
     * **High**：需要立即处理的任务或通知。
     * **Medium**：应尽快处理的重要任务。
     * **Low**：可以稍后处理的任务。
4. **受派人类型**
   * **说明**：根据决策表的输出，指定被分配任务或通知的用户或群组。
   * **详情**：决策表会动态评估条件，并返回适当的用户或群组以进行分配。
5. **电子邮件通知**
   * **说明**：设置是否向被分配的用户或群组发送电子邮件通知。
   * **选项**：
     * **True**：向接收者发送电子邮件通知。
     * **False**：不发送电子邮件通知。

#### **版本 3 中的其他组件**

1. **通知类型**
   * **说明**：指定此卡片创建的是任务还是通知。
   * **选项**：
     * **Task**：创建任务，并将其分配给决策表返回的用户或群组。
     * **Notification**：向决策表返回的用户或群组发送通知。

## **功能：**

* **条件评估：**\
  只有当\*\*“Where”**和**“And Sections”\*\*都评估为 true 时，此卡片才会执行其操作。
* **任务 / 通知分配**\
  此卡片会将任务或通知分配给决策表指定的用户或群组。决策表会动态评估预定义条件，并返回相应的接收者。
* **电子邮件通知**\
  如果已启用，则会向被分配的用户或群组发送电子邮件通知。
* **版本 3 功能**\
  在版本 3 中，此卡片允许创建任务或通知，为任务管理和沟通提供更大的灵活性。

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

1. **定义任务或通知详情**：\
   输入任务或通知的标题、描述和优先级。
2. **配置决策表**：\
   设置决策表，以动态确定应将任务或通知分配给哪个用户或群组。
3. **启用电子邮件通知**：\
   指定是否应向被分配的用户或群组发送电子邮件通知。
4. **指定通知类型（版本 3）**：\
   选择此卡片是创建任务还是发送通知。

## **结论：**

\*\*“Assign Task / Notification from Decision Table”\*\*工作流卡片可根据决策表中定义的动态条件，自动分配任务或通知。版本 3 增强了此卡片的功能，允许用户选择创建任务或通知，并确保始终将其分配给正确的接收者。电子邮件通知功能可让用户及时了解情况，从而简化沟通和任务管理。


---

# 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/then/task/assign-a-task-with-title.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.
