I have workflow having add Data row activity which always through “Add Data Row: Object reference not set to an instance of an object”.
After lot of research i found that input to “Add Data row activity is blank” but i am successfully passing the “Data row”.
Thanks in advance for help.
Can you explain in details where is the exact problem so it will be helpful to understand.
Thanks & Regards
@jitendra_123, I had workflow which contains following activity.
- I had build data table activity.
- I had created data_row variable having type data row. and initialize value to that variable.
- After that i have added Add data row activity. and provide “data_row” as input.
but it is always through above error.
Can you please refer the below article. Here it is explained how to add data row to a data table.
Please Check these things.
- After Building DataTable, Check in Prioperties whether you have assigned a datatable variable.
- Then In Add DataRow Activity check whether you have added the same datatable variable.
@MAHESH1 - Thanks for you quick response but i have checked both variable are same.
Hu @KarthikByggari - thanks for quick help.
If you want to Add Empty DataRow To a DataTable.
Then You have to initialize the DataRow.
In Properties of Add Data Row
In DataRow Feild
Let us take you are having a DataTable dta
@MAHESH1 - Got right solution from @KarthikByggari post … but thanks for your help too.
WOW thank you, this helped a complete stranger
i went through this link but when i downloaded the workflow from there to see the example it is showing as missing activities .is it due to the uipath version that i am using . i am using uipath version 2019.10.2.
@Ankita121 - It will automatically try to fix version. just close and open it again, if not then take backup of project.json and delete it and try to open xaml file again.
Hi Sandipauti, please have a check this demo may help:
Link is dead. I get the 404 error
Hello, I suggest U can add output Datatable in properties of build data table activites. Correct me if wrong. Thanks