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
2,513 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,930 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
• 57,940 points
581 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
3,127 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,968 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
409 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,320 points
1,285 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
772 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,930 points
4,347 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
5,113 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,930 points
772 views