How to increase the max file upload size in generated forms?

I have downloaded the community edition with included tomcat server. I found this blogpost but when i upload a file larger than 5MB the complete button is deactivated and in the browser console it says

Error: Maximum file size of 5.00 MB exceeded.
   transformFiles http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:1
   submit http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:1
   link http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.17.0:41
   complete http://localhost:8080/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.17.0:41
   fn http://localhost:8080/camunda/lib/deps.js?bust=7.17.0 line 36 > Function:4
   i http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
   $eval http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
   $apply http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
   compile http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:36
   dispatch http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:120
   handle http://localhost:8080/camunda/lib/deps.js?bust=7.17.0:120

In the config xml file in a comment it says 50MB are the default setting.

      <!-- 50MB max -->

But i cant even upload 6MB so how can i increase the max file size? Thank you

Hey @mbrain and welcome to the Camunda Forum! :slight_smile:
I am not an expert on this topic but have you seen this page in our documentation:

Besides, I am wondering why you want to upload such a big file to Camunda - Hopefully it isn’t stored in the runtime database. Otherwise it will slow down the process execution dramatically. :wink:

Let me know if this might have solved your problem.

Hi Hafflgav, thanks for your reply. I am new to Camunda, and i am just testing.

The link you provided is about embedded forms which requires a spring boot application, am i right?

If so, is there a way to use embedded forms without a spring boot application?

Thank you!

Hello @mbrain ,

embedded forms can be served by any distribution. In case of tomcat or wildfly, the form html is located in src/main/webapp.

I hope this helps


Is there a way to put a simple html file anywhere and reference it in a task like a camunda form? Just the plain html file? I want to model the process in the camunda modeler but instead of using the generated form-file i want to write it in html - if possible, without coding (except the form html).

Maybe i should start a new thread because the topic has changed a bit?

1 Like

Hi @mbrain ,

it would be great to do so.