Welcome to the community.
One alternative approach can be, create a temp folder and save the attachments in it firstly post that Move the attachments to desired folder while moving Rename them with your desired name. This will do what you require.
hello, yes thank you - but how do I do the actual renaming? The file names will be dynamic so how do I know what to rename them from?
So only the date will be changing right? Try this methods
Use Move file and use wildcards in the source name like this
Use For each file in folder pass your path upto folder name
Use Move file
Hope this helps
Hi Gokil001 - thanks, first method will not allow illegal characters in path.
Method 2 - can you post xaml as I do not follow the process
Sure I will give you the skeleton which i shown you can develop based on your requirement
Thank you - I will take a look
@Gokul001 this doesn’t seem to do anything?
the file names stay as they are.
The xaml has “read csv” but your original image had move file
Aww Sorry for the bitter mistake
Here is the updated xaml
Main.xaml (6.6 KB)
@Gokul001 Thank you - but it still does not do anything.
I have 3 csv files in the folder which are from the attachments - they are called
SACT_v3- 20220101-20220131 _data.csv
SACT_v3- 20220101-20220131 _pass.csv
(The bits in bold will change if when I download attachments next month)
I want to rename them too
In which folder the the attachments are available in your system?
And you are using this same path right?
And your Destination path is ?
Destination path means the path in which you need to move the attachment with new name
I don’t need to move it - just keep in same folder with new name
If your query get resolved. Kindly mark the post as solved.
So it will help for others to
Forum FAQ - How to mark a post as a solution
This document is part of our beginners guide.
This article will teach you how to properly mark a post as a solution.
We were closely following our last UiPath Forum feedback round! topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them.
When is the topic resolved?
The topic can be considered resolved when the topic author has fo…
@Gokul001 - that you so much, it works. I couldn’t reply yesterday as I was locked out by the forum
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.