Setting of job variables has changed behaviour in 8.4.1 (or maybe 8.4.0), and I'm pretty certain it's a bug causing us a lot of trouble
To reproduce the issue:
1) Create a job like in the image below. It has a job variable called 'var'. Set it to zero. Start with a task that sets it to zero (in case you are running test several times).
Then create a for loop that loops say 10 times. Increment the variable by 1 in each loop cycle. Then create a task that writes to file (or whatever you want)
2) Run the job, and it produces the correct result
3) Next, create another job that calls the job above. Do not load any variables, just leave as is. It makes no difference if you check any of the boxes below 'Job variables'
4) Run the new job. It produces this result
This cannot possibly be the intended behaviour. The child job updates the variables, but the Write file job 'remembers' the old variable
Edited by user
2018-11-27T16:34:40Z
|
Reason: Not specified