Hello Community,
I am using the Upload File component within the Flow Builder.
I have a requirement to change the name of the uploaded files just after uploading them (within my flow).
What I did: I store all the Output Files Ids in a collection variable. Just after my screen (containing the Upload File component) I Loop on this collection and I change the Files names (I change the Name according to some ressources in my flow).
The problem I am facing: In my screen, if I upload my first file (Whose name= "123") and re play the component (on the same screen) to add another a second file (whose name= "456") . Both files will be related to my record BUT ONLY the second file will be RENAMED.
How can I do to guarantee, that If I play the component several times seperately, all the uploaded files must be renamed as required ?
Thanks in advance for your help !
BR,