Code not working as intended

So I have a DataTable (named “RGAdt”) and pass that as the input argument for a “Invoke Code” activity. My objective is to convert a column (named “Associate ID”) of the datatable which has “double” datatype values in it, to “sting” datatype values, for which I invoke this code:
image

But I am getting this error:

Please help me solve this. Thanks in advance.

Hi,

The following topic may help you.

Or it may be necessary to modify the xaml file directly.

Regards,

Okay, so I am trying to delete this import, but not letting me

Also my error says for System.Collections.ObjectModel

Hi,

It may be necessary to modify the xaml file directly.
Can you try the following step?

  1. Close studio
  2. copy the xaml file for backup
  3. open the xaml file with notepad etc.
  4. check if duplicated System.Collections.ObjectModel. If there is, delete either of them.
  5. Save it. ReOpen it using UiPath Studio

Regards,

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