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 in RPA by Ravi
1,778 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 by Anvi
• 13,960 points

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,485 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
246 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 in RPA by Shivi Singhal
3,896 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 in RPA by darklord
• 6,190 points
717 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 in RPA by Mishti
• 480 points
480 views
0 votes
1 answer

Write multiple line message using message box

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

answered Mar 4 in RPA by Abha
• 27,200 points
1,425 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 in RPA by Mishti
• 480 points
2,645 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 in RPA by Anvi
• 13,960 points
1,156 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 in RPA by Anvi
• 13,960 points
2,874 views