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
3,730 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 13, 2019 by Anvi
• 14,110 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
1,971 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
410 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
6,450 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,287 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
775 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,366 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,118 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,110 points
3,187 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 18, 2019 in RPA by Anvi
• 14,110 points
6,207 views