Hello Team,
Hope you are doing good. I am processing a workflow for salesOrder edit.
Here i am taking the value of SalesOrder from Queue and Date from config file and the processing further steps.
At the end i want to put both values to DataTable.
But i am getting error in Add Data row.
Please find the attached screenshot. Please let me know for any more information required.
Build Data Table:
Also if the first iteration is over and if there are any items in queue it will agaun process the same workflow and in ideally it should create a new entry in add data row.
I put the build data table back and declare local variable and it is working fine but my concern is
for first time it will load the entry but for the second iteration will it overwrite or automatically write it below the first value.
Or do i need to add for loop.Currently my workflow is shown below.
I don’t know all the requirements of your process and where exactly you need to use this datatable so i can not give you an answer to your question on which option to choose
Take a variable, Variable type DataRow and assign the value Datatable.NewRow.
For example there is a Add DataRow which has testDataTable.
Then suppose you want to add first data item in a datatable.
Now i have a query here as since i have created an arguement and add as B_DT , now how can i use the value in the add datarow where i need to mention the Datatable.