In my batch macro, I am outputting the file name as a field. The file name field does in fact appear in the results window within the batch macro, but it is not coming through in the actual workflow when I connect the macro to a Select tool. I would appreciate guidance here. Thank you.
@michaelcjoyce Can you share a picture of your batch macro? Just making sure - are using a macro output in your batch macro ?
One thing to look at is the interface designer in the macro and which union option is set. If it's "common set of fields" then maybe filename is not working on one file and so the field is being dropped. Make sure this is on "Union by fieldname" or something similar to that.
@michaelcjoyce I tried to replicate your macro, all the updates and fields are coming out correctly for me. I would like to highlight the things that I am doing-
1. In the input tool, option 5 value is - File Name only
2. In my interface designer setting, I have the output mode selected to first option - All iterations will have same output (schema)
Please try this and let me know if it is helpful
@michaelcjoyce You can do that in the interface designer - layout view, the wheel icon which is 4th one in the left window where you have the wand.