Hello,
I am looking to upload the files created in my workflow.
The output tool creates multiple excel files. I then input them using dynamic input and run the script to upload.
However, it is writing all the records in the batch file instead of excel files.
Can anyone please tell me how to resolve this?
I am really stuck at this point and it is urgent to resolve this.
Any help would be greatly appreciated.

It writes 194252 records to the batch file.
But it should write only the 6 files to batch file.
number of files created is dynamic. It is an automated workflow which runs every monthly fiscal period and creates weekly files for that period. These files need to be uploaded using the command.
Thank you
Regards,
Pankhudri