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

# 获取采集数据总量

## 指令说明

**描述：** 可以获取到指定采集任务的采集数据的总数据量。仅限获取任务的云采集的数据，不支持本地采集。

## 参数说明

<Tabs>
  <Tab title="常规">
    <img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-03.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=29e3477165a5b8d3883b7535a84f87c7" alt="获取采集数据总量指令参数面板" width="978" height="608" data-path="helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-03.png" />

    | 参数        | 说明                       |
    | --------- | ------------------------ |
    | **授权对象：** | 选择一个使用"八爪鱼账号授权”指令获得的授权对象 |
    | **任务ID:** | 设置需要获取其云采集数据量的八爪鱼任务的Id   |
  </Tab>

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

## 使用示例

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-01.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=b809176301ff6d0f58f3d56787e1638e" alt="获取采集数据总量使用示例" width="1628" height="222" data-path="helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-01.png" />

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

1. 使用【八爪鱼账号授权】获取账号授权，并选择需要查询的采集任务。
2. 执行【获取采集数据总量】，读取该任务当前已经采集的数据条数。
3. 将总量保存到结果变量，供后续分页取数、循环或进度判断使用。

注意：该指令需要团队版或企业版账号。账号版本说明请参见：[https://www.bazhuayu.com/plan](https://www.bazhuayu.com/plan)

### 效果展示

<img src="https://mintcdn.com/bazhuayu-rpa-docs/54VOmvcVz9x5vq70/helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-02.png?fit=max&auto=format&n=54VOmvcVz9x5vq70&q=85&s=7825a4c877ab06709efcf1ed8feabcb0" alt="获取采集数据总量效果展示" width="1640" height="280" data-path="helpcenter/commands/bazhuayu/images/gettaskdatacountcommand-02.png" />

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