UiPath将一个Folder下面所有表的数据添加到一个dt里面

将指定Folder里面数据表的内容添加到一个dt里面

将指定Folder里面的所有以.xlsx为后缀的表的内容添加到一个dt里面

要操作的Folder里面的Excel表

在这里插入图片描述

testData1.xlsx内容

在这里插入图片描述

testData2.xlsx内容

在这里插入图片描述

构建一个存放所有表中数据的dt

在这里插入图片描述

表头

在这里插入图片描述

属性

在这里插入图片描述

遍历文件以及判断后缀

遍历并判断文件夹中后缀为.xlsx的数据表,
在这里插入图片描述

Read Range Workbook

下面在判断后缀为.xlsx继续模块中操作
读取遍历的后缀为.xlsx的文件并Output到dt_userExcelTable

在这里插入图片描述

属性

在这里插入图片描述

Add Data Row

遍历读取后Output的数据表dt_userExcelTable,并将遍历的每一行数据追加到前面构建的数据表dt_TranactionData中。
这里使用ArrayRow的方式添加到数据表中。
在这里插入图片描述

Move File

将操作完的数据表移动到TempFolder里面,避免机器人重新启动读取相同数据的内容

Continue

当遇到InputFolder下文件后缀不是.xlsx时,终端本次循环,继续操作下一个表,整个循环并不会结束。

完整流程图:

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

结果

在这里插入图片描述

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
题目如下 In this exercise, you will create a UiPath automation that performs the steps below. To achieve this, you will use the REFrameWork as the starting template and follow the UiPath development best practices. Here are the steps performed by the Robot: 1. Log in to https://www.acme-test.com. 2. On the landing page, Dashboard, click on the Work items menu item. Scrape the data in all the pages of the table, page by page, ensuring error handling and recovery. 3. For each page: - Filter the records where Status is 'Open'; - Filter the records where Type is 'WI5'; - Filter the records where WIID is less than 500000; - Append the resulting datatable into an Excel worksheet; you shouldn't worry about the headers and format of the output file. Constraints to follow in the development, using the REFrameWork: 1. TransactionItem datatype should be a String. The process should recover and retry in case of errors in navigation between WorkItems page. One transaction is the action of scraping one web page.By navigating to the next page, the next transaction will execute. (Same as ACME Process 4 Dispatcher from the UiPath Academy). 2. Create a separate workflow file for the Login to ACME. File input arguments: URL ; Username ; Password . 3. Create a separate workflow file for closing ACME. 3. Add the ACME_URL and ACME_Credential to the Config file. 4. Populate InitAllApplications.xaml from the Framework folder with Invoking the Login to ACME and navigation to the Work Items. 5. Populate CloseAllApplications.xaml from the Framework folder with Invoking the Close ACME. 6. Populate KillAllProcesses.xaml from the Framework folder with killing the process used. 7. Populate the Process.xaml file with the following actions: Web scraping, Filtering and Appending to Excel. Important Note: Don't use external file references, outside of the project folder (including Orchestrator Assets). Place all the used files within the project folder, zip that folder and upload it to the UiPath Certification Platfor

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

江上月༻

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值