Download based on major

hello
i have this task where i can download CVs based on major. am not sure what condition i should use?

this is the excel file:

Hi @jumanah_alqurashi !
Interesting question. Not sure to understand what do you need to know through your use of UiPath on this file?

Example:
Do you want to have at the end one excel file (or one sheet file) per major ?
If yes, here is attached an example: Internship fields.xaml (8.5 KB)
If no, we need more information on what you want :grinning_face_with_smiling_eyes:

hi
at the end i need different folders for each major
and the file you uploaded has missing activities :thinking:

Hi !
If there are missing activities, that means that we do not have the same version of Studio, or that you did not update your Studio activities. Would you mind upgrading ? (I am using Studio 21.4).
So if I understand your process:
For each person (line) in this file, go to the website URL (in the column Your CV), then download in a specific folder depending on the major.
Do you confirm ? In this case, you don’t need an IF condition. I’ll send you the updated xaml when you validate the process in itself :wink:

almost yes
this is my flowchart

and i will upgrade thank you :kissing_heart:

Ok here is a suggestion: Internship fields.xaml (25.6 KB)

Don’t forget to fill in

  • the path of the variable path_folder (in initialization)
  • the “Download” part

Let us know if you need more help !

1 Like

great workflow and easy to follow thank you! :kissing_heart:
just one question if possible…
i just did not understand the sequence the called “Try to download” i got a bit confused

Hi @jumanah_alqurashi !
Great that it helped you :grinning_face_with_smiling_eyes:
So we are at this part of the code:


The bot will try to execute what is inside the “Try” part (so it will try the sequence called “Try to download”, but as the sequence is commented, the robot will ignore the sequence)
If the robot has any error that comes during the process of downloading, the robot will execute what is inside the Catches Exeption part

So in our case, it will increment the number of errors, and it will write in the file, in the column “Error ?” the element: Yes

Inside the “Try” part, I commented a code because I didn’t know if it was going to help you or not.


I imagined that to download the file, the bot has to open browser (in my case Chrome) and write the url of the CV, then it will do (Ctrl + S) on the page that will be opened (to save the CV), then when the “Save As” window opens, the bot will write the path of the file (and put it in the right folder), then the bot closes the tab of the CV.
You can keep this commented part, you can uncomment this part if it is useful for you, or you can delete this part: it’s as you need :wink:

1 Like

thank you sooo much! :heart_eyes: :heart:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.