How to add an attachment saved in a variable

Hey, how to add an attachment saved in a variable? I have downloaded an attachment saved in a variable and I need to send it through the application. The application immediately opens a window with the selection of a folder, I do not know how to give it a variable.

Thank You. I’m working in UiPath StudioX.

Hi @sullivanne ,
You can create variable as String call strFileName
strFileName = “ABC”
each file you can format strFileName+time + extentions of file
ex: strFileName+dd/mm/yyy:hh:mm:ss + “.xlsx”


1 Like

Hi @sullivanne

Is the entire path of the attachment is saved in the variable?

If so then you can write into Name of the file space and click open

Hope this helps you


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.