i have a desktop flow where it looks to 2 different folders with the following contexts:
folder 1 with documents
Bnr 097 - NW.2213.97 - dd 29-08-2023 - DEFINITIEF-ondertekend
Bnr 098 - NW.2213.98 - dd 07-05-2024 - DEFINITIEF-ondertekend
Bnr 099 - NW.2213.99 - dd 02-05-2023 - DEFINITIEF-ondertekend
folder 2 with destanation folders :
Blok 17 - Bnr. 097 - Type A5700-VDP
Blok 17 - Bnr. 098 - Type A5700-VDP
Blok 17 - Bnr. 099 - Type A5700-VDP
the script looks if the first 3 numbers (\d\d\d) with regular expressions is the same in de document as in the folder and when true copy's the document to that folder.
the problem here is that it looks for every document in the folder and then starts from folder 1 till it has the right one. so i would like it to be were when it copy'd 1 document it wil no longer search that folder

Report
All responses (
Answers (