Harshahacks
(venkata sri harsha)
October 17, 2025, 8:26am
1
Assigning “Nothing” to “Transactionitem”, which is a dataRow, getting the below error.
"Cannot assign from type ‘System.Object’ to type ‘System.Data.DataRow’ in Assign activity "
I tried -
removing “Nothing” Keyword, saving the file and adding it back to assign activity.
deleted assign activity and re-added it by myself.
refreshed and restarted UiPath Studio.
But no use, the error is still present.
Please Anyone Guide me.
1 Like
Yoichi
(Yoichi)
October 17, 2025, 8:36am
2
Hi,
Do you use Studio 25.10.0?
I think Assign activity in 25.10.0 has problem of it.
MultipleAssign activity may solve this matter. However, runtime error may occur.
Regards,
3 Likes
In Studio 2025.0.175 STS its working, but if not working for you, you can force the convertion of data type using: CType(“yourdatahere“, “youdatatype“)
1 Like
Harshahacks
(venkata sri harsha)
October 18, 2025, 3:57am
4
Yes, it’s the 25.10.0 version, and the multi-assign activity is working.
Thank You, Youchi.
Harshahacks
(venkata sri harsha)
October 18, 2025, 3:59am
5
Thank You Gabriel. I will look into it and for now multi-assign was working fine.
1 Like
system
(system)
Closed
October 21, 2025, 3:59am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.