Michaeljep
(Michael Jeppesen)
March 21, 2019, 11:24am
1
I can’t grasp where i’m off with this.
I reading an Excel file with an for each row, the output is stored in a var. This variable I would like to use as a folder path to loop through the pdf’s inside the folder and move them if they fullfill my IF.
Main.xaml (12.8 KB)
HareeshMR
(Hareesh Madasi)
March 21, 2019, 11:27am
2
Try adding .tostring in the end of the variable and give it as
Directory.GetFiles( Mappesti.tostring + “.pdf”)
I don’t understand why you are using “*.pdf” here?
1 Like
Michaeljep
(Michael Jeppesen)
March 21, 2019, 11:43am
3
Iv’e already tried adding .ToString, but it gives me an error saying
“Cannot Assign from type ‘System.String ’ to type ‘System.String’ in Assign activity”
“*.pdf” was to ensure only to look at the pdf files in the folders.
Michaeljep
(Michael Jeppesen)
March 21, 2019, 11:49am
4
I looked again and found that Mappesti2 wasn’t set as an array. Problem solved.
Thanks HareeshMR
system
(system)
Closed
March 24, 2019, 11:49am
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.