You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used sdk-camunda-archetype 7.6.4-00 version.
I was trying out loan-approval example. I placed the forms inside src/main/webapp/forms as generated by the archetype. When running the application as spring boot directly from STS, everything works as expected.
But when I create a docker image, and then try to run it as a container, and then start a process from tasklist, the form is created but not displayed. When opened, it displays error:
"Form failure: No message available"
However, if I place the forms inside src/main/resources/static folder, it works fine even inside docker container.
The text was updated successfully, but these errors were encountered:
I think the solution would be the one I mentioned in the end.
"if I place the forms inside src/main/resources/static folder, it works fine even inside docker container"
This is because spring-boot by default picks up resources from the static folder. However, you can configure a different path (as per your need) in spring-boot properties.
I posted this question because I was (am) not 100% sure whether this is the right approach or maybe the documentation needs to be corrected.
I used sdk-camunda-archetype 7.6.4-00 version.
I was trying out loan-approval example. I placed the forms inside src/main/webapp/forms as generated by the archetype. When running the application as spring boot directly from STS, everything works as expected.
But when I create a docker image, and then try to run it as a container, and then start a process from tasklist, the form is created but not displayed. When opened, it displays error:
"Form failure: No message available"
However, if I place the forms inside src/main/resources/static folder, it works fine even inside docker container.
The text was updated successfully, but these errors were encountered: