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, 2019 in RPA by Apeksha
• 1,110 points
1,658 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, 2019 by Abha
• 27,910 points

Related Questions In RPA

0 votes
1 answer

How to use Get queue item activity and how to use ienumerable string in uipath.

Get Queue item activity enables you to ...READ MORE

answered Apr 24 in RPA by Sirajul
• 54,020 points
137 views
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,943 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,814 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
355 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, 2019 in RPA by Sahiti
• 6,290 points
1,045 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, 2019 in RPA by Mishti
• 480 points
699 views
0 votes
1 answer

Write multiple line message using message box

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

answered Mar 4, 2019 in RPA by Abha
• 27,910 points
3,265 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, 2019 in RPA by Mishti
• 480 points
4,539 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, 2019 in RPA by Abha
• 27,910 points
577 views