Some time last year, I was asked about adding different attachments to notifications – something that has been discussed in the forum a number of times. This time, I was asked about whether it was possible to modify the display name, so that each attachment link contained the name of the file that had been attached:
I have a requirement to send a notification with attachment but attachment name should be attachment name. Is there any way to change the display name of the Attachment?
This is something that was also asked in the forum in June last year – where there are multiple attachments (or even if there is a single attachment), users like to see the details of the attachment rather than a generic “attached file” link, for example.
When the notification is built, any attached documents are included as attributes to the message. The link to the attachment is created using the display name for the attribute in the text. It is possible to modify the display name of an attribute programmatically (although this is NOT supported by Oracle since it would be a direct table update), BUT attributes aren’t versioned. There is only one definition of an attribute within the process definition, so if we changed the display name, this would impact EVERY notification that uses the same message.
So, the quick and simple answer is “No”, and hopefully this quick post explains why you can’t.