> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# If 多条件

## 指令说明

**描述：** 同时判断多个条件是否同时成立或者满足其中一个条件就成立，如果成立，执行 If 多条件里面的指令。

<Info>
  该指令需要与 **End If** 指令配对使用，If 多条件和 End If 之间的指令块仅在条件成立时执行。
</Info>

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/condition/images/if-multi-01.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=83b8a071f5071f6d0ae0d80d7c9755b6" alt="If 多条件指令参数面板" width="660" height="419" data-path="helpcenter/commands/condition/images/if-multi-01.png" />

    | 参数       | 说明                                                               |
    | -------- | ---------------------------------------------------------------- |
    | **条件关系** | 满足全部条件：需要全部条件都满足才能执行 If 中的任务<br />满足任意条件：只需要任意一个条件满足就能执行 If 中的任务 |
    | **条件列表** | 可设置待比较对象以及比较方式，若需同时判断多个条件可点击「添加条件」按钮进行添加                         |
  </Tab>

  <Tab title="高级">
    本指令暂无高级参数。
  </Tab>
</Tabs>

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/condition/images/if-multi-02-flow.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=1f34c48fd13634591cb511543ea02699" alt="If 多条件使用示例 - 流程搭建" width="1135" height="332" data-path="helpcenter/commands/condition/images/if-multi-02-flow.png" />

**该流程执行逻辑：**

使用【打开网页】在八爪鱼浏览器中打开网址 `https://rpa.bazhuayu.com/`，并将打开的页面保持为变量"网页"

使用【If 多条件】指令判断条件列表

若满足全部条件（"网页的 url 等于 [https://rpa.bazhuayu.com/](https://rpa.bazhuayu.com/) " 且 "网页标题包含八爪鱼RPA"），则执行【打印日志】指令打印 "满足全部条件"

否则执行【打印日志】指令打印 "不满足全部条件"

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/GBkSeqm2b688g4En/helpcenter/commands/condition/images/if-multi-03-result.png?fit=max&auto=format&n=GBkSeqm2b688g4En&q=85&s=e14c1407effe883707d0f3fa24983f8c" alt="If 多条件使用示例 - 效果展示" width="1114" height="211" data-path="helpcenter/commands/condition/images/if-multi-03-result.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
