Rename Attachment during Upload in an Record Producer

alexanderwallne
Tera Contributor

Hello, 

 

i need a Solution, i have to collect some Attachments via a ServicePortal Form  (7 Attachments).

 

how can i Rename the Attachamnts during the Upload for Example:   test.pdf to  Vorname_Nachname_ Ausweis.pdf

 

alexanderwallne_1-1664893666586.png

 

 

alexanderwallne_0-1664893409969.png

regards

 

6 REPLIES 6

You're right. Since the request isn't submitted yet, I don't if/how we can query the variable values server side. You might need to also use a client script. Take a look at this solution to see if it's helpful

https://www.servicenow.com/community/developer-forum/how-check-attachment-name-on-a-catalog-item-in-...

Hello have you a other solution for me beacuase my skripting knowledge ist not hi enoufh for do to that.
now the rename works with BR on demand if i att the attachement, but it is now problem, if the renaming work on Submit the form, but i need the Variables in the Attachment name.