> 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/continue-with-a-chance.md).

# 按概率继续

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

## **用途：**

此 DocBits 卡片引入了概率条件，使工作流可以按照设定的可能性继续执行。该卡片适用于测试场景、随机选择或在流程中引入受控的变化。

## **功能：**

* **按条件继续：** 此卡片根据用户设定的百分比概率决定是否继续工作流。卡片会生成一个随机结果，并将其与指定的百分比进行比较，从而以受控的概率继续工作流。
* **概率百分比：** 用户指定一个百分比值（0-100%），表示工作流继续执行的概率。例如：
  * **0%：** 工作流永远不会继续。
  * **50%：** 工作流有 50% 的概率继续。
  * **100%：** 工作流始终会继续。

## **用法：**

在需要随机工作流路径的场景中，此卡片很有用，例如 A/B 测试、受控抽样或流程模拟。它也可用于在自动化工作流中引入变化。

## **示例场景：**

* 用户将此卡片配置为**概率为 30%**。工作流到达此卡片时，有 30% 的概率继续执行下一步。当需要随机抽样或部分处理时，这种设置非常适用。

通过使用“按条件继续”卡片，组织可以在工作流中引入受控随机性、开展流程实验，并利用概率条件改进决策。


---

# 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/continue-with-a-chance.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.
