How to retrieve attachment names and display in an email

I have a scenario whee whenever user uploads the document capture username and time and also send in an email

In an email template , have specified data source of file attachment attribute

I have attached 2 documents and submitted. User received email with information as below


How do i access actual names of the file and use it?

Comments (1)


Dear Sirisha,

In many situations it is desirable to obtain the name of a file previously uploaded in order to perform different actions, for instance, validate if the file has an specific extension, number of characters etc.

To obtain the name of a file uploaded you must create an expression. In it obtain the list of files uploaded in a file-type attribute and go through each record of the array and extracting the name of each one.

For further information:

Best Regards