I have a batch macro that i am using to rename all of the log file names to the job name. The macro should returns the Filename, Run Time, Error Count and Messages for each filename passed into the macro. Instead it is returning the 134 rows (The total number of rows from the Directory tool) of the same filename.
The workflow that is executing the macro looks like the following passes in a listing of the files that i need to retain the first line of the log file..
The macro Action configuration looks like this. But the output of this is only updating the input filename for the first filename (Alterys_Log_1650372699_1.log. ),
The visual of the output of the macro is as follows that shows each of the 134 rows are the same:
What am i doing wrong here? Why is the Configuration of the Action Update passing in the same file each time?
@JavaGirl hi, could you please upload the screenshot of configuration of the input to control parameter?
or even better if you could upload the whole workflow (with dummy data)