Document understandinggg

i am trying to solve one question from document understanding, UiPath academy,and there artiple files, and i am looping through multiple files and i am extracting data ,there are two types of files, and i want to store the data from both the files in different excel , if i am using Directory.GetFiles(InputFolder) to loop through each file then it is showing error, so how can i possibly do it

Could you please share the error?

You can directly use below activity for getting files from a folder - For each file in Folder

@Sameekshya_Panigrahi,

What error you are getting?


it is not looping going through archive

Could you please check whether the Archive Folder contains files. From the screenshot - I can see 2 files outside the archive folder

Go To Project Folder and check

yes it is only looping through outside files, i want it loop through archieve files also , inside archieve files there are multiple files and inside those files there are more files

Hi @Sameekshya_Panigrahi

Are you giving the path this way Directory.GetFiles(InputFolder/Archive)

Check this!


this is showing like this? if i am fixing

if you using for each file in folder activity just pass “Inputs/Archive” as a expression or just choose the archive or


choose the archive folder this way