How to make workflow based on this scenario


Based on the Payment mode, i have to click three types of options in web application(For eg: payment mode is “CASH ON DELIVERY” i have to click on that) , how to design a workflow?

Plz help me

U can use First Read Range to read the file data DT

Then use For each row for that DT
Then use click activity
In that change the variable
say click on Cash On Delivery
and make changes in Selectors by adding variable
For that use assign
PayMode=Row(“Payment Mode”).ToString
Then in selectors add this variable instead on that name

Or u can use If or Switch if u want to click separately without using Dynamic selecotrs

2 Likes

Hy, you could use conditional “switch” activity

Based on the ''Payment mode" strings, different actions can occur

Have a look at the documentation:

Regards

1 Like

i am new to uipath, how to add variables(like Paymode) to selector

Plz help me

For now You can use If condition for your requirement
Say If row(“Payment Mode”).Tostring=“Cash On Delivery”
Then Click and click on Cash on delivery
and in else again add another condition

And for adding variable in selectors u can simply use Edit selector in that when u right click in editable field it will give u option to add variable

1 Like

Hy, please check this simple demo

SwitchDemo.zip (22.0 KB)

You can always go to UiPAth Academy to lean UiPath.

Regards

2 Likes

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