Skip to main content
May 7, 2025
Question

Multipart Form Data - Override the filename

  • May 7, 2025
  • 5 replies
  • 0 views

Hi All,

I am trying to send a document to external system that accepts form-data. I am using the content type "Multipart Form Data (multipart/form-data)". I would like to change the file name only for the integration call (without renaming the document in Appian). However, Appian automatically sends the document with its document name, not able to update/rename the file name. 

5 replies

May 8, 2025

Hi [mention:d37313820a664d7bb305be4b46571a45:e9ed411860ed4f2ba0265705b8793d05] 
One approach is if your external system accepts metadata, you can send document name separately (as required) in the request, so that target system set the name,

May 8, 2025

Hi [mention:8c78ee4ffe8d41d1b8ca61f1105b4e51:e9ed411860ed4f2ba0265705b8793d05] ,

Yes, we are working with the external system in parallel. Thank you.

stefanhelzle0001
May 10, 2025

While a bit quirky, did you consider to rename the file, transfer it, and rename it back?

May 13, 2025

Yes, I did. I think the idea is to not update the document in Appian. The other approach I proposed is to create a new document and send, and delete it immediately. 

Please let me know if we can update any way during the integration call.

harshas2775
May 14, 2025

In your integration process you can copy this document and the duplicate document created and renamed to desired file name can be sent to integration. Lastly delete the duplicate file once the integration process comes to completion.

In another words, do nothing to the user uploaded document rather use a copy for integration call to achieve desired results.