RITM_4356463.xlsx (6.0 KB)
You need to know the folder name in which the file is present.
Let’s say the folder name is “folderName”
Directory.GetFiles(folderName) will give you an array of files present in that folder. You can iterate through this and store its elements in string variables. After this you can use Path.GetFileName to get the file name
PFA the sample workflow
filenameSample.xaml (7.3 KB)
Check the below post
How can i remove that extension alone from the file name??
Instead of using Path.GetFileName, you can use Path.GetFileNameWithoutExtension