I have a directory with a list of files, and I want to perform a slight rename (replace spaces with underscores) and save them in a different format.
Here's a snapshot of the workflow, and the data we have just after the select tool:


The fullpath appears correctly here, and I have a control parameter in my batch macro to read it in:

I then assign a new filepath (as you can see) and I've made sure to take the new full_path variable at the end.

But the issue seems to be that the control parameter isn't updating with record number 2 - it just runs record 1 twice. Any ideas why?