Hi, I have a problem with my build
so I want to upload an excel file that is already processed beforehand with the robot to our internal system
When I want to upload, there will be a pop up to select a file
To Get the path of the latest file from the directory, use below
String.Join(ββ, Directory.GetFiles(FolderPath,β*.pyβ,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1) )
Here *.py will be replaced with your file extension you want
Itβs not required to redirect, Use Type Into activity, Indicate the File name Text box to that, There you can type the entire path of the file and click open
from the code
String.Join(ββ, Directory.GetFiles(FolderPath,β*.pyβ,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1) )
folderpath will be removed by my folder path (ex: D:\documents) and *.py will be replaced with the file format right?