Get EmployeeID from excel sheet(sequence) {I have 11K records}
Put the EmployeeID in employeid field of Find Employee page and click search
Above will open
5.Click on each tab and download files(already have download buttons)
but on every download file must save in a folder which should be created with employeeId name and under that folder more new folder based on tab names (as seen in screenshot), and every file download from tabs should save in the respected folder created in run time for every tabs.
So is it possible, btw there are many steps but i wanted to keep it short.
Yes,It is possible first check for the directory if it already exist if not then create a new directory.
If(NOT Directory.Exists(âYour directory Path which you want to createâ))
{
Directory.CreateDirectory(âYour directory Path which you want to createâ)
//USE CREATE DIRECTORY ACTIVITY FOR THIS PURPOSE/
}
tell me how do I create the 1st folder with employeeID name?
when download files from each tab like says - after fetching employee â425â i get three tabs (as mentioned in the screenshot above), when downloading file/s from tab âI-9â when downloading a new folder with folder name âI-9â should be created and file get saved in the same folder, and same happens with the tab eForms and so on, but if like document tab donât have any records then it should not create any folder with name âDocumentâ
Example
This will be the folder structure for employeeid â425â and so on âŚ
P.S I have around 11K employee records and for every employee new folder and subfolder will be created files gets downloaded to respective folders
Once you have grabbed the EmployeeNumber as a string, in this case â425â for example, you can then create a folder for that by populating a string variable called âEmployeeFolderPathâ: