Please refer to the information below.
(Example) Only searching and looping through ".txt" files in the "bizrobo_test" folder which contains both ".txt" and ".xlsx" files.
▼Inside this folder
▼Action tab of the "For Each File" step
Set the directory to loop through
If checked, the files of sub-directories (and all levels below) under the set directory will be included. If unchecked, only the files directly under the set directory will be included.
・File Name Pattern
Only the file(s) that has/have a name matching the entered pattern will be included.
Please refer to "How to extract characters by pattern in DS?", for a method to describe patterns.
・Store File Names Here
Set a variable to register the name (or path) of the current file at each iteration.
Executing a "For Each File" step with the above settings, will give the "file_name" variable the values below.
You can see that only the ".txt" files of the "bizrobo_test" folder have been looped through.
"The Step could not be reached. The For Each File action did not find any files."
If this error message appears when using a "For Each File" step, please refer to "For loop steps such as "For Each File", the "Try Next Alternative" setting is not performed and an error occurs".