I'm trying to loop over a DictArray in apex script and add a subnet for each iteration of the loop.
If I construct the loop with a fixed range, like in the image below, it works.
However, if I construct the loop using the length of my DictArray, like in the image blow, it doesn't work.
I can verify that the length of the array is returning 1 so I cannot work out why no subnet gets added when I do this.
Any guidance would be most appreciated.
Thanks
Peter