How can I differentiate the two variants so that different activities run on each variant?

Please help! I have the following example table. This table is the result of a file upload to a web page.

-The file was loaded correctly (without errors) if the “-” character is on each column

-The file was loaded with errors if there is an error in at least one cell.

How can I differentiate the two variants so that different activities run on each variant?

Hi Silviu_Albisoru,

You will need to use a ‘Switch’ activity.

https://docs.uipath.com/activities/docs/switch

I would read the excel into a datatable, loop through the columns and use the switch to determine which action, if any, is necessary based on the existance of the error messages.

Best,

1 Like

Thanks a lot! I test and come back with an answer

1 Like

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