We are building a validation that will send back an error if the file size is not what was expected.
What is a way to return a file size within an Alteryx workflow without loading the file, so if the file is larger than we expect we can cancel the job before bringing in the file?
Solved! Go to Solution.
Hey @elsastark,
You can use the directory tool to find the size of a file:
Once you have identified your file you can add a message tool to throw an error if the size is larger then an expected value
You could use the Directory Tool. Here's the size of my test file in bytes,
Thank you @IraWatt and @PhilipMannering!
No worries @elsastark 😄