How to use Switch activity on a string in UiPath?

0 votes

Hi,

I’m trying to use the switch activity to do different activities if a variable I scraped contains specific words.

For example, if string contains “hello” do an activity, and if it contains “bye” do another one.

Nov 7 in RPA by Apeksha
• 1,100 points
31 views

1 answer to this question.

0 votes

Hi Apeksha, You need to change the type of argument of switch activity to string, in you want to use a Switch activity on a String.

Hope this sample example will resolve your issue:

answered Nov 8 by Abha
• 27,180 points

Related Questions In RPA

0 votes
1 answer

How to use Not contains function in string in UIPath?

you can use the following approach  strValue = ...READ MORE

answered May 16, 2018 in RPA by wrecker
• 3,110 points
2,466 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

use a wildcard in selector. make sure that ...READ MORE

answered May 21, 2018 in RPA by wrecker
• 3,110 points
1,447 views
0 votes
1 answer

How to select an item in UiPath that starts with a string

Just use a wildcard in selector. Given ...READ MORE

answered May 28, 2018 in RPA by wrecker
• 3,110 points
232 views
0 votes
1 answer

How to use Not contains function in string in UIPath?

use the following approach  strValue = “This is ...READ MORE

answered Jun 19, 2018 in RPA by wrecker
• 3,110 points
359 views
0 votes
1 answer

Identify a Column in a database in UiPath Studio

There are two options to identify a ...READ MORE

answered Feb 11 in RPA by darklord
• 6,170 points
667 views
0 votes
1 answer

Which edition of UiPath is more suitable for individual use, Enterprise Platform or Community Edition? Why?

UiPath’s Community Edition (CE) is the version which is ...READ MORE

answered Mar 7 in RPA by Mishti
• 480 points
434 views
0 votes
1 answer

Write multiple line message using message box

@Rashmi Message Box activity in UiPath does ...READ MORE

answered Mar 4 in RPA by Abha
• 27,180 points
1,181 views
0 votes
1 answer

How to connect to MySQL database using UiPath?

Follow these simple steps to connect to ...READ MORE

answered Mar 7 in RPA by Mishti
• 480 points
2,398 views
0 votes
1 answer
0 votes
1 answer

How to read data from a excel, based on that data, check in the corresponding checkbox in browser appln? Uipath

Hi, to achieve this, you can perform ...READ MORE

answered Oct 10 in RPA by Abha
• 27,180 points
55 views