Why its show error like that in for each

Unable to cast object of type ‘System.Char’ to type ‘System.String’.

@Neeraj_Gupta1

Can i know what data does filepath contains and datatype, is filepath is an array or what

Hi @Neeraj_Gupta1

Inside for each activity change the argument type to system.char

1 Like

Hi @Neeraj_Gupta1

In For each activity properties there is an option called Arguments, When you click on arguments the dropdown opens. Select the System.Char datatype.

If you didn’t find that option let us know.

Hope it helps!!

1 Like

I understood what i mistake.

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