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
7,888 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
• 28,140 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, 2020 in RPA by Sirajul
• 59,230 points
4,751 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
4,558 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
3,222 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
969 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 12, 2019 in RPA by Sahiti
• 6,370 points
2,522 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
1,377 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
• 28,140 points
13,981 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
8,432 views
–1 vote
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
• 28,140 points
2,529 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP