I am working on rpa challenge practice which is in rpa developer foundation.
When I download solution of practice. I works well without issue. But when I do the same with solution from scratch I am having the [Object Reference Not Set To An Instance Of An Object] error. I tried to solution which you described above. But I could not succeed. Can you please help me to fix this issue. I can not continue without understanding and solving the issues.
Looks like UsersDT is blank, please check that you’re reading/getting data into that variable correctly. If you’re reading an excel file then the file might be blank, or you might not have assigned UsersDT to the output.
Actually, I am doing as same as the source of uipath which I download from the academy. And I couldn’t understand actually why we put there variable which we never mention again. As you say maybe I have to assign it somewhere where I couldn’t see it…
Maybe this is the most simple thing but if you can help me to understand I will be glad
That is not what I suggested you do. That is the datatype of the variable. To the right there is a column named Default. In the Default value for UsersDT type: