> ## 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.

# End If

## 指令说明

**描述：** 必须和 If 或 Else 或 Else If 指令配合使用，不能单独使用，表示判断的结束。

<Info>
  End If 是条件判断块的必备结束标记。每一个 If 条件都必须有一个对应的 End If 来闭合。
</Info>

## 参数说明

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

    End If 指令本身无参数，仅作为标记指令使用。
  </Tab>

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/condition/images/end-if-02.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=4053a92aecf1f963bb9ff15c92203824" alt="End If 使用示例" width="856" height="201" data-path="helpcenter/commands/condition/images/end-if-02.png" />

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

使用【If 条件】判断 a 变量是否等于 b 变量

若满足条件，执行【打开信息对话框】，提示结果信息 "a 等于 b"

使用【End If】指令标记条件判断结束

### 效果展示

End If 闭合当前条件判断块，随后流程继续执行后续指令。

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