Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hello @JhoelForshav  and @fullevent!

 

I have made two tests first I checked all the names of all the files to search for some spelling mistakes. I built a table in Excel and used a formula to check the spelling, and all the files names are correct with the names in ilogic code (see table below)

 

 Names in iLogic code without ""File namesVerification
sFilesToCopy(0) = DEPT-YYYY-XXX-05-01 SUPPORT.iptDEPT-YYYY-XXX-05-01 SUPPORT.iptTRUE
sFilesToCopy(1) = DEPT-YYYY-XXX-05-01 SUPPORT.dwgDEPT-YYYY-XXX-05-01 SUPPORT.dwgTRUE
sFilesToCopy(2) = DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.iptDEPT-YYYY-XXX-04-01 EXTERNAL PLATE.iptTRUE
sFilesToCopy(3) = DEPT-YYYY-XXX-04-01 EXTERNAL PLATE.dwgDEPT-YYYY-XXX-04-01 EXTERNAL PLATE.dwgTRUE
sFilesToCopy(4) = DEPT-YYYY-XXX-03-01 INTERNAL PLATE.iptDEPT-YYYY-XXX-03-01 INTERNAL PLATE.iptTRUE
sFilesToCopy(5) = DEPT-YYYY-XXX-03-01 INTERNAL PLATE.dwgDEPT-YYYY-XXX-03-01 INTERNAL PLATE.dwgTRUE
sFilesToCopy(6) = DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.iptDEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.iptTRUE
sFilesToCopy(7) = DEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.dwgDEPT-YYYY-XXX-02-01 SIDE LEFT PLATE.dwgTRUE
sFilesToCopy(8) = DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.iptDEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.iptTRUE
sFilesToCopy(9) = DEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.dwgDEPT-YYYY-XXX-01-01 SIDE RIGHT PLATE.dwgTRUE

 

The result of the second test it's much more interesting.

 

I ran the code from @JhoelForshav  an received the information about issues in all other files (except those two that is working), and clicked ok in each message and as result, all files were copied and renamed correctly to the  destination folder. Exactly as we desire.

 

Looks like the verification lines made by @JhoelForshav does the code reinitiated and copy the files.

 

I don't understand all lines in the code but I think we are almost there.
Something after the message make the code run correctly.
Maybe is necessary remove the message and keep the verification lines that is working.

 

Once more thanks you two.

 

Best regards,