Getting Error while using New FileInfo activity


CAn anyone guide my why am getting this error.
Note : Am getting mostly errors while following UiPath Academy Courses am follwing them same but most of the times am getting errors even i follwed did the same as they shown videos …May i know how to overcome this as interested to learn via UiPath academy only …

Thanks in Advance.

@sekhar_talasila set typeArgument of foreach = STRING


Hi Jack,

Sorry i can see in properties INdexOut only…unable to see TYpeArgument as you said above, Mine is Latest version of UiPath community

try change

new FileInfo(Invoice)

to

new FileInfo(Invoice.toString)

1 Like

Thanks it worked :smiley:

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