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


microy35
2012-06-07T17:51:30Z
Hello,

I have a job which is using the loop feature. The loop task is running a SQL command, and within the command I'm using the {LOOP(CurrentValueX)} variable to run the command against a list of databases in the loop. The command works fine and iterates through each value in the loop/list, but when I look at the output in the Task Log for each iteration of the loop/list, they all contain the just the 1st value in the loop/list. Is this by design or should the output from each task iteration in the loop contain the current value for that iteration?

Thanks for your help.
Sponsor
Forum information
Support
2012-06-08T14:35:28Z
It depends on a couple of things:

1. what is the source value in the for each loop? And have you loaded the source outside the loop?
2. perhaps the wrong newline character is used - how is your data separated?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top