Did read CSV and created a variable dt1 as datatable.
Build datatable and named two columns as House and account (dt2 datatable)
Did for each row in data table and and called dt1 as datatable and for each as CurrentRow
Did assign change(arrey of strings)={account details} , note accountdetails is the output of an application (which is a service no)
Did For Each loop (in which ForEach is item and In Change (array of string)
In the Body added write line and declared item.tostring
8.added assign account ( as mentioned in build data table)
9.added data row and in ArrayRow added {CurrentRow(0).toString, account}
Write CSV from dt2
In the output panel I see 2 service no but in output CSV I see 0 showing under account
Can anyone help me in getting the service no in notepad
Output=dt1
=> Use Build Data Table activity and give below way:
Build Data Table
Output:dt2
=> Use For Each row in datatable to iterate through dt1
=> Inside that use this in If condition
If
account_details.Length>0
Then
Assign-> account= account_details(0)
Assign-> account_details= account_details.Skip(1).ToArray()
End If
=> Use Add Data Row and pass the below syntax in ArrayRow