Is there a way to route to an external website on pressing on a button in Camunda 8 form?
I want to upload and download attachments but it seems that this is not available in Camunda 8 forms, so I try to make the upload and download in external forms that we route to from Camunda forms.
Thank you for your question. When you are using the Tasklist UI of Camunda, the simplest way is to render the link to the website via markdown in a text view, like this:
Hi @yasmeenhesham , as of today, this seems to be the best solution, but we are also working on a native file upload, where you will be able to specify the upload target.
As an alternative, we shipped an iFrame component, and we will add security flags to it, so you will be able to upload files to an embedded page (currently, this is disabled).
You can help us by telling us where you expect or favor to upload the document to. Our current intention is to reuse our existing file connectors (such as S3) and connect them to forms.
When will the iFrame component be ready to be used?
Till now, We don’t know what ECM We will use.
I want to know if there is a way to make server side validations inside the forms. For ex.: in our case we want to check if the attachments are uploaded or not. Another example, if we want to check the ID entered is valid and exists in DB or not so we will need to make this validations in the server side using Java for ex.
Hi @yasmeenhesham , the iFrame component is available in 8.4 (will be released this week )
Your case for server side validation makes a lot of sense. We are planning to add native API query capabilities in Q2 to forms. Currently, you would have to add a REST connector task in your process after the form to query the state to be validated, and then a gateway that would route back to the form if not valid. I know that’s not very elegant and efficient, that’s why we plan to add these capabilities to Camunda Forms.
I wonder if there is a way to override the complete task method so that we can validate the fields on pressing on Complete Task button, or a listener that we can implement to make our validations on completing the task.
Another question, is there a way to take an output either from the iFrame, or the Text View?