Get files from folder

hi @amruta_George ,

Please use this code in assign activity and the output will be a array of filenames

Directory.GetFiles(“D:\fasil_docs\Documents”).AsEnumerable().Where(function(x) Path.GetFileName(x.ToString).Contains(“part”) or Path.GetFileName(x.ToString).Contains(“error”)).ToArray

Change the folder path as required

image