Auto increment


#1

Hi,
When ever the new row is added slno should auto increment


#2

Hi @shruti,

If you are adding the column from UiPath activites then there is an option as per below screenshot :

However, if it is predefined column then you can initial a variable with count of items in Sl NO and then increase it inside the same loop where you are adding the Row items.

Regards,
V


#3

i tried with this i think i missed out something can you show me with some example


#4

@shruti, Can you share your sample file where you tried? I can help you in modifying it as per the scenario?

Regards,
V


#5

example.xaml (3.0 KB)


#6

Hey @shruti

Please find the attached sample workflow for your understanding :slight_smile: and let me know :slight_smile:

AutoIncrement_In_Datatable_Sample.xaml (8.8 KB)

Regards…!!
Aksh


#7

iam using append range