How to loop through a dictionary in UiPath

0 votes
I want to know how can I loop through a dictionary in UiPath?
Mar 13, 2019 in RPA by Ravi
11,421 views

1 answer to this question.

0 votes

Hey @Ravi, if you have a dictionary and you want to loop through it to access each key-value pair, just follow these steps:

1. Create a Sequence, then drag an Assign activity to it. Assign the existing dictionary to new Dictionary(Of VarType1, VarType2).

2. Now add a For Each activity which will iterate over each item (key-value) in dictionary. 

3. Display the key-value pair using Message Box activity:

answered Mar 14, 2019 by Anvi
• 14,150 points
1 flag

Related Questions In RPA

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,455 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
1,150 views
0 votes
4 answers

How to find the sum of 2 columns of an excel and display it in a 3rd column using UIPATH?

These are the steps to add two ...READ MORE

answered Aug 2, 2019 in RPA by Shivi Singhal
14,802 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,816 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,613 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
14,805 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,956 views
0 votes
1 answer

How to access specific key and value from dictionary without loop in uipath

Hello, you can access value of a ...READ MORE

answered May 2, 2019 in RPA by Anvi
• 14,150 points
9,067 views
0 votes
1 answer

How to check if a string exists in datatable using UiPath?

Hi @Ravi, to check whether a string ...READ MORE

answered Mar 19, 2019 in RPA by Anvi
• 14,150 points
17,828 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