Hi there, is it possible to have custom form components with Camunda 8 Cloud ?
I have found some tutorials for custom components in form-js, but they don’t explain how the deployment is done, just how to build the custom components.
We’re currently on Camunda 7 and evaluating Camunda 8 Cloud, and this is an important use-case. Are there any tutorials / documentation on how to achieve this?
Thank you!
Hi @aso
As also written here
custom components cannot be imported into the web or desktop modeler, so you need your own form editor.
And they also cannot be displayed in the tasklist. For that you would need to build your own custom tasklist.
Thanks @rohwerj , this is a good starting point.
So if I host the form editor myself and build the custom components, is there a tutorial on how I would deploy a form that I build with my local editor to my cloud instance ? Sorry if it’s a trivial question
If you look at
you will have a JSON with your custom component in the end.
This can still be embedded in your process or also linked to (don’t know if you can upload it as a form to the web modeler).
But to display the form later on, you also need your custom form viewer (build with form-js see link above)
Thanks again!
I’ve tried uploading such a form to the web modeler, but it complained that it doesn’t know the component.
Do you know an example on how I would use my own form viewer together with the default task list that comes with Camunda Cloud? Or do I need a custom task list, so the whole UI part basically, in order to achieve that ?
If you use “Create new” → “Upload files” in the web modeler, you should be able to upload your custom form. But you won’t be able to edit it in the web modeler (due to your custom component).
Also you won’t be able to use this custom form in the default task list, but need to implement your own based on form-js.
When querying for tasks, you should get the formKey and optionally formId (if you deployed the form).
And you should also be able to load the form then via REST and display it in your custom task list.