Goal: Robot shall read project numbers from an excel sheet, and based on the unique designation of each project number, click a specific tab in a web page.
Materials I have: 1 excel sheet containing 1 column header “project no.” and 8 rows, each containing 8 types of project numbers e.g.
Example. For project ABC123, robot must click a specific tab in a browser.
Limitations: I do not have EXCEL read range on this version of uipath. I can only use workbook read range.
I have started by having a Workbook Read Range activity.
Not sure how to proceed. Somehow i know there must be an IF/then activity. I must somehow create a VARIABLE for each project no. from the excel sheet. Using this variable, I will then use the If/then activity. But I do not know how
use read range to read excel to dt (Datatable)
then use foreach row activity
in the foreach row activity, add switch statement, and drop the corresponding click activity under each project#
Thanks for the fast reply I will try it today. Hopefully my version of uipath has this “switch case” activity… if it doesn’t I might be in deep yogurt.
Does this solution work if I want to apply it for hundreds of other projects each with their own project number? Albeit out of these many projects, there will be 8 types (based on the first few letters) that will need the robot to click different tabs.
Seems counter intuitive that variables need not be created?