I have a form that requires the attachments submitted with the confiform be named with specific naming convention. There are two problems that I am having; first, how to access the attachment file name from the confiform macros; second how to change the names of multiple attachments.
My first thought was to use a IFTTT onCreated rule, but that there is only delete or copy attachment. I thought if I could copy the attachments to a page and use an onModified IFTTT rule I could change the name that way. Neither approach has proven to work beyond the copy of attachments to a new page.
Users can upload docs to the form and the form needs to transform the doc:
example.pdf to asAttachment.displayTitle=[entry.my_Field]_[entry.my_Field1]_[entry.my_Field2][entry.my_Field3][entry.my_Field4]_BU[entry.asAttachment(0)index#]_[entry.my_Field5]_[entry._now.formatDate(yyyyMMdd)]
WTC000000_3333_AD22221111_BU(1-#)_$250_20210407
The BU(#) just needs to be the index number for the attachment.
Is this operation even possible with the ConfiForm toolset?