In “For Each” activity of dependency version 23.4.1 we are not able to change the type argument to data table. It becomes an issue when we try to loop the dataset to get the table data out of it using For Each. You could see in the below images when we try to access the item (ItemInstance) in the body of For each to populate the .tablenames as sheet names. It doesn’t populate. At the same time it also throws an error “cannot be converted to object to datatable type” when we use the item (ItemInstance) in the datatable parameter of write range as the default type argument for for each in 23.4.1 is system.object. This activity is created in the project by selecting windows compatibility. We could download the UiPath.System.Activities to 22.10.4 and use it without any issue. Just wanted to check in the version 23.4.1 can we expect the same as 22.10.4 version
Regards,
Saravana