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.


thomas
2020-05-28T12:25:37Z
Hi

The ForEach loop has changed in behaviour in 9.2.5, or maybe in 9.2.0. First of all the 'use column' works differently. I had a job where we had use column = 2 in previous version, and when we upgraded we had to change to use column = 1 to get the same result. Have you changed the start index of columns from 1 to 0 ?

image.png

Secondly the x values are not preserved during the loop. I have created a job you can run. I would expect to get the same result in task 2 and 3, but they are different.

image.png

  LoopTest.zip (3kb) downloaded 24 time(s).
Sponsor
Forum information
Support
2020-05-29T15:50:46Z
Originally Posted by: thomas 

Hi

The ForEach loop has changed in behaviour in 9.2.5, or maybe in 9.2.0. First of all the 'use column' works differently. I had a job where we had use column = 2 in previous version, and when we upgraded we had to change to use column = 1 to get the same result. Have you changed the start index of columns from 1 to 0 ?

image.png

Secondly the x values are not preserved during the loop. I have created a job you can run. I would expect to get the same result in task 2 and 3, but they are different.

image.png

  LoopTest.zip (3kb) downloaded 24 time(s).



Hi Thomas,

I just wanted to let you know that we're investigating this. We will get back to you when we know more
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Support
2020-06-01T10:08:02Z
Originally Posted by: thomas 

Hi

The ForEach loop has changed in behaviour in 9.2.5, or maybe in 9.2.0. First of all the 'use column' works differently. I had a job where we had use column = 2 in previous version, and when we upgraded we had to change to use column = 1 to get the same result. Have you changed the start index of columns from 1 to 0 ?

image.png

Secondly the x values are not preserved during the loop. I have created a job you can run. I would expect to get the same result in task 2 and 3, but they are different.

image.png

  LoopTest.zip (3kb) downloaded 24 time(s).



Update: We've fixed this issue in our 9.2.5 build (which we plan on releasing very soon). You can download it here: https://www.visualcron.c....aspx?g=Posts&t=9975 
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
thomas
2020-06-02T17:13:05Z
Hi

Thx for the fix, it seems to work now.

By the way, I noticed that if I choose an columns that is outside the index bounds, it doesn't fail.
Lets's say we are looping over a list of strings. If I select use column 0, it works. If I select column 1, it returns a message as an output, but doesn't fail the task. See image:

image.png

Wouldn't it make more sense to throw an error?
Support
2020-06-03T09:47:28Z
Originally Posted by: thomas 

Hi

Thx for the fix, it seems to work now.

By the way, I noticed that if I choose an columns that is outside the index bounds, it doesn't fail.
Lets's say we are looping over a list of strings. If I select use column 0, it works. If I select column 1, it returns a message as an output, but doesn't fail the task. See image:

image.png

Wouldn't it make more sense to throw an error?



Thanks for reporting this. We will look in to it as well. Is it hindering any of your tasks currently? Or is it just a heads up in advance
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
thomas
2020-06-03T09:51:05Z
Hi

Thanks. No this is not a problem for us currently
Scroll to Top