Linq statement

I have a drive item array variable type which is an output of a find files and folders activity. I would like the bot to download each file but the download file activity does not accept array variable type. Is there a way I can overcome this?

I understand I can use a linq statement but unsure how to configure this in order to download each file

we would recommend the usage of a for each activity and loop over the array. within the loop block we can model the file download

I have tried this - but when I specify the file to download it will not accept the array type variable

I would also like to edit the downloaded Excel file - unsure how to do this

we used the for each acitvity - TypeArgument: DriveItem

Please would I be able to look at the xaml file

Also please could you tell me which UiPath core activities package you are using as mine does not have the for each item option:

Just give us some details from your modellings:

  • set Project Compatibility (Windows, Legacy)
  • Package Versions:
    • UiApath.System.Activities
    • UiPafh.MicrosoftOffice365.Activities

image

image

image

we encountered some issues for some combination of Studio Version, Package Version which explains the differences.

Maybe you have a chance to bring the UiPath.System.Activities to another level

where:
grafik

will change to (22.10.8):
grafik
grafik

and we keep in mind that in more new version the typeargument will be auto-derived / forced

Works fabulously thank you!

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