Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Markus Baer
2023-03-29T11:40:42Z
Hi there,

I am working on a job that loops through multiple files (using the for each property with the result of a list file task) and depending on a part of the file name either moves the file to a specific folder or unzipps it.

Therefore, I created a condition that evaluates a job variable in order to determine which action to take.

If the variable equals "NA" it should execute the move/copy file task. If it does not it should go to the next task which extracts the current zip file.

However, the job looses the loop variable {LOOP(CurrentValueX)} (which contains the current filename) after the condition is evaluated if the variable does not equal "NA".

Moreover, the loop stops even though not all files have been itterated. I also enabled "Extended debug logging" on the condition but can not see anything in the job log how the condition is evaluated.

Does anybody have an idea why this is the case?

Thanks and best regards,
Markus
Sponsor
Forum information
Scroll to Top