"Add Data Row" activity with ArrayRow gives error BC36915

Hello,

In UiPath Studio, with framework “Windows” or “Cross-platform”, adding a row in Data table with “Add Data Row” activity using an array gives error :
error BC36915: Cannot infer an element type because more than one type is possible. Specifying the type of the array might correct this error.

How to deal with this error ? It doesn’t affect “Windows - Legacy”
Regards,
Bruno

Hello, you can create a new datatow with “NewRow” and assign values to it. Finally add this row to the DataTable:

Greetings

Hi,

Can you try as the following?

img20211216-a1

This works in VB - Windows (net5).

Regards,

1 Like

Thanks you very much, guies !
Both solutions worked !

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.