I have an analytic app that reads in some files using file browse dropdowns. They are all CSV files.
Running the workflow locally from desktop it works successfully,
Running it from gallery produces error "The Action "ToolId:127" has an error: The file name is empty. (ToolId: 127)" and "A file must be specified (ToolId: 122)"
127 = the Action tool and 122 is the file input tool that is modified by 127 action tool.
None of the other action/input tool combos in the workflow produce this error.
The server we are getting this error on is 2023.1, but this does NOT happen to the same workflow if we run it from the gallery that sits on our old sandbox(2021.4)
Thanks for any help!
Craig
Solved! Go to Solution.
I believe that 2023.1 checks for file existince at the time of launch. If you are not including a sample file in your workflow depency when uploading the package - 2023.1 may flag this as an error.
Not sure if this is the issue, but the Action tool connected to the Input Data tool, there should be a check box for "Required". If you have multiple Input Data tools but don't need to populate all with files to run the app, you can uncheck this box.
@apathetichell Yes, I am doing this. There are 4 file dropdown tools in the workflow. They are all configured the same. Only the 1 I noted has this issue.
@Bren_Spill They are all required and all files are being "uploaded" when running via the gallery
tl;dr: There is a bug where a certain number of records or file size is causing this.
I figured it out.. sort of. This appears to be a bug.
The input file that goes into the tool that is causing the error has 46k records in it, but it only has 2 columns so it's not "huge".
All the other files work because they are very small.
I ran the workflow from the gallery with a file with only 5 records and it worked.
The same issue happened if I did it with .XLSX:
Runs just fine from local
Generates that error from gallery
If I run from gallery with a sample file(5 records) it works.
Question: is it letting you select the sheets on every file but the one that is erroring? I've found that some of my workflows like this have a significant delay in the pop up to select the sheet/list of sheet names, and if it is run without a selection, it will error that it has no file input.