I was creating workflow to find name of latest downloaded PDF file from download folder for that I have used two time Assign Activities
- Folderpath variable type string which is my Download folder path
- Filename Variable of type IENumerable which contains
“string.Join(”",Directory.GetFiles(Folderpath,”*.pdf”,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1))"
but i am getting error at this point saying that Assign: The given path’s format is not supported.
Can you please help to get resolve this