Adding multiple filters in For each file activity

Hello, is possible in activity “for each file” to add more then one filter? I Need “.doc",".docx” and "*.pdf"files to be procesed.

try this:
Directory.GetFiles(“C:\path”, “.”, SearchOption.AllDirectories).Where(Function(s) s.EndsWith(".doc") Or s.EndsWith(".docx") Or s.EndsWith(".pdf"))

Hi @tomaz

You can also try with these Activities

  • For each file in folder and if


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.