Expression in VB for automating serial numbers in a list using uipath studio

0 votes

There is a certain list in which I need to arrange serial numbers and I need to do this through do While, the order should begin with 00001 and then 00002 … 01555, what should be the VB expression for this in uipath?

Oct 24, 2019 in RPA by Pratibha
• 3,690 points
1,154 views

1 answer to this question.

0 votes

Hi @Pratibha, if I understand your problem correctly you need to arrange some serial numbers in a list in ascending order and use do while for it. You can follow these steps to achieve the same:

  1. Initialize a variable of type int and assign the value as 0001 (assume SerialNumber) for the first time and another variable of type int and value as 1 (assume Count)

  2. Get the selector of the first box and check it with the selector of the second. You will get what needs to be dynamic in the selector.

  3. Loop through the number of values you have on the screen and write the serialNumber variable in the box. Make sure the selector is dynamic with the variable count in it.

  4. Then increment the values of both SerialNumber and Count by 1 so that the value will be written in the next line and the serial number is 0002.

answered Oct 24, 2019 by Abha
• 28,140 points

Related Questions In RPA

0 votes
1 answer

What are the issues and limitations of using Native Citrix support for Citrix apps in UiPath studio?

Hello @Gauri, there are a few limitations ...READ MORE

answered Mar 28, 2019 in RPA by Pratibha
• 3,690 points
2,729 views
0 votes
1 answer

How to scrap only numbers from a pdf file using UiPath studio?

Hi, to scrap only numbers from a ...READ MORE

answered Oct 17, 2019 in RPA by Abha
• 28,140 points
1,091 views
0 votes
1 answer

How to make a text hyperlink in word using Uipath Studio?

Hi there, you can make a text ...READ MORE

answered Oct 24, 2019 in RPA by Abha
• 28,140 points
3,738 views
0 votes
1 answer

Get a list of files from a Directory using UiPath Studio

Hey Apeksha, you can try following pseudo ...READ MORE

answered Nov 5, 2019 in RPA by Abha
• 28,140 points
8,384 views
0 votes
1 answer

What is Get Jobs activity used for in UiPath Studio?

Hey @Rakesh, Get Jobs Activity can be ...READ MORE

answered Mar 14, 2019 in RPA by Abha
• 28,140 points
2,756 views
0 votes
1 answer

How to format text in notepad using UiPath?

Hey @Rashmi, if you want to automate ...READ MORE

answered Mar 18, 2019 in RPA by Anvi
• 14,150 points
7,587 views
+2 votes
1 answer

How can I display current date in "dd-MMM-yy" format in UiPath Studio?

Hi Shilpa, if you want to display ...READ MORE

answered Mar 18, 2019 in RPA by Pratibha
• 3,690 points
16,508 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,143 views
0 votes
1 answer
0 votes
1 answer

How can i create a check box list using for each loop in UI Path.

Hi, to achieve this automation, you can ...READ MORE

answered Aug 29, 2019 in RPA by Abha
• 28,140 points
2,178 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