Value is not getting reassigned in For each
Summary: Value is not getting reassigned in For each
Content (required): I am reading a file using Read File in Segments and using a for each to iterate the records of Read File in Segments. During for each, I am assigning the current record of For each to a variable called 'recent'. My expectation is for each iteration the value of variable recent should get updated.
If suppose i have 3 values say abc,def and ghi in my file. So for 1st iteration variable recent should have abc and for last iteration it should be ghi. But for all the iterations the value is set to abc and is never changed. Can someone please help me on the same