Hi All,
Would really appreciate some input to a problem that I am having.
What my workflow is attempting to do is:
1. By using the directory tool, taking the location of an xlsm file and saving the file to a new location( pretty much copying and pasting the file from location A to location B). I am doing this using the blob input/output tool, for the only reason other than I dont know any other way. To this file, the current date/time is appended to the file name for audit purposes.
2. Later in the workflow, the above file is to have a sheet overwritten with data from another process. This is where I am stumbling. As the name of the file will change after each run, I am unable to enter in a location which file should be overwritten when prompted to "Write to File or Database". From my use, I am unable to add a wildcard to the output location as this gives a repeated fail.
Is there anything that i can do so that the file created in 1. with a dynamic date in the file name, is able to have a sheet updated?
Thank you for your input!
Solved! Go to Solution.
Is this workflow running on a fixed schedule, or are you able to convert it to an analytic app with a Date prompt?
From your number 1, when you append the current date/time to the file name, retain that one field (final file name) for use later in the workflow (simply use something like a Select tool)
For the "final file name", ensure you have a format that includes the Sheet name, like "My file.xlsx|||Sheet1"
From your number 2, just before the Output tool, use the Append tool to add the "final file name" to every record in the output data stream.
In your Output tool:
Chris
worked a treat! thank you very much