integration builder file method: Printing a different document based on name of dropped file name 追蹤
I'm converting my files from Bartender pro to Automation. What we do now, is create a csv file with data, and point a bartender document's data to it. We then using the command line reference that document, which in turn looks for that csv file, fills the fields with the data, and prints it. Simple
What I would like to do with integration is this: wait for a file with a .csv extension to be dropped to a specific folder, then based on what the name of the csv file is, print a different document (for example if the file is called ship.csv, print shipping-standard.btw, but if the file is called ship-rd.csv, print shipping-rd.btw, etc). Each document is also looking for the data file in the same location, so it should fill its fields with the current data and print.
I don't want to set up a separate integration for each document/data file combination; that would be hard to manage because there are dozens of different combinations possible. I'd prefer to have all the possible combination in one integration.
Is there any way in one integration file, to tell it to watch a certain folder, then based on the file name of a .csv file print a certain named document?