I have a process where I am creating a dynamic file name to add the date to the file name for output in the in the Output Data tool using the option Change File/Table Name using the Change Entire File Path. Upstream I have created a field that contains the entire file path where I have it coded to one of our network drives: "\\ABC Network Folder\Accounting\Alteryx\Data Output"+DateTimeNow()+".xlsx|||Sheet1".
All was working great, until someone (don't know who!) in the corporation changed a part of the pathname that I had within the process, which broke my process. They changed the folder name to \\ABC Network Folder\Accounting\Alteryx Testing\.
My question: Is there a way to somehow use a wildcard when creating the filepath in order to prevent this from breaking in the future if someone where to again change a folder name?
Thanks!