Hi Folks,
I need a logic for the following for loop,
I require that 910217 and 900023 are unique values, so I need to add 000000,100000,20000,30000 it should stop and then start again with 000000,100000,20000,30000 for the next unique value so that the output would look like :
910217000000
910217100000
910217200000
910217300000
then,
900023000000
900023100000
900023200000
900023300000
The current output that I am getting is like this,

@shikharno.7
Hi How you are getting the input like 910217
is the values are in the array or from any other sources
how many values you are getting from the inputs
@Shiva_Nikhil , Thanks for your response.
I have these values in a column of a Datatable as I am reading them from an Excel
@shikharno.7 - Do you have an existing loop? I think you can do a loop inside another loop. Like this:
- The first loop is to loop through the contents of your Datatable. e.g.
910217, 900023. etc.
- The second loop is inside the first loop and loops from
000000 to 300000 only.
- Inside the second loop, combine the main number (e.g.
910217) and the secondary number (e.g. 000000)
- Do a Write Line inside the second loop to see the output.
Hope this helps!
hi @shikharno.7
firstly keep the unique values in an array_variable
then loop the array_variable
in that ,loop for-each data_table which has 4 rows(0000000,1000000,200000,300000)

@sasi_poosarla , can you share the logic in a xaml if possible ?
shared the xaml
Forum Practice.zip (3.4 KB)
@shikharno.7
if you find any issues in that let me know