Hello everyone and happy new year!
I would like to ask if there are any plans to update the way we can link a form to the user task using desktop modeler for Camunda 8. Something different from pasting the JSON, like linking files from a local repository.
Currently, there is no way of linking files in the Desktop Modeler (also not BPMN → BPMN or BPMN → DMN).
At the moment, this is solved using linking by Id which is resolved at runtime. For Camunda 8 forms, this will probably also be the first step (use a “form ref” instead of a form key which points to the form id).
In order to be able to resolve this information as links, some kind of context would be required.
I was thinking about this also some time ago, yet I do not have any information if this is in the pipeline.
So you mean that we can link a Camunda form by a form key? Or the custom form key option is only about external forms?
If yes, where do we save the Camunda form in order to be linked to the user task through the key?
sorry for the confusion. Currently, this is not possible.
Yet, the form key field has the obligation to link a user task to its form. When pasting a form JSON to the user task, the form key will be generated and link to the form which is embedded in the XML as text somewhere else.
The reason is that currently, the form cannot be deployed separately to Zeebe.
Ok great now I understand the concept. One last thing, or if you prefer I can open a new topic. If I want to use an external form. Let’s say formio. How is this working? I create the form online and there is a generated key that I use in the modeler form key input field?
@jonathan.lukas As I noticed from your app, you are using the following format for the form key: “form-io:bpmn:documentupload” . Is this a standard format for every occasion? Like form-io:bpmn: + the form id ?
And lastly, when you link a formio form to the process, can it be completed through the camunda tasklist?
I am asking because I tried creating a form online, binding it like this: form-io:bpmn:myForm , but after deploying the process and starting an instance, camunda tasklist shows an empty task without form or variables.