Hi,
I have confusion regarding the add data row activity.
I have used RE Framework for my process
For ex. i have 5 rows to add to the data table. so I have used build data table and after each transaction, it should add the data so I have used add data row in Process Transaction State. and in the end transaction, I have added write range.
Will it add all the 5 data when it comes to the end transaction State?
Hi @sneha_arbole
You need to use the build data table in init state and get transaction is processing the data one by one and in the process state we will be using add datarow to append the data in datatable as each transaction!
Regards
@pravin_calvin
What if i want to add all the data once only?
I want to add all 5 data in 1 go. can I do that?
Hi @sneha_arbole
Without Using Build data table and add data row activity we can try with
Dt.AsEnumerable.Take(5).copyTodatatable
then use write range to write the data!
Regards
But i am using build datatable and add data row and then write range. will this work?
@sneha_arbole
Yes but it will add the row by and save it to data table and finally write range will give the desired result!
Regards