Hi there,
I am facing the following problem:
- I am maintaining a xls-report that needs to be updated with the latest data every month
- for that, I have to download some data (also xls) from a website (which I have automated via Power Automate)
- the download file name consists of two parts, e.g. "download_20220927.xlsx" - part 1 "download_" never changes, part II "20220927" changes always according to the current date when I retrieve the data
- in order that the query in my xls-report works, I need to rename the download to a standardized name, e.g. "Input_data_report.xlsx"
- And there is exactly my challenge: How do I rename a file whose name changes from month to month (or rather depending on the date when I download the file)?
Current approach (which doesn't work):
- I added the action "Click on UI element in window" and saved the current file name
- that works for this particular download, but the next download (e.g. tomorrow or next month) won't work, as the name of the downloaded file changes, hence PA doesn't recognize the file anymore
- The plain "rename" functions forces me to choose only one particular file (=file name)
Highly appreciate your support here!!!
Thanks and all the best from Berlin
Philipp