I am new to Camunda and trying to go through “Adding Forms and Starting Up A Spring Boot Project” tutorial on youtube.
I am constantly getting Form Failure error with "No Camunda Form Definition was found for Camunda Form Ref:" message.
I have tried multiple combinations to use in “Form Ref” field without any success.
My form name is preapreDeparture.form and form Id is destinationForm and location is resources/static/forms/preapreDeparture.form.
Values I have tried so far are
preapreDeparture.form
/forms/preapreDeparture.form
/static/forms/preapreDeparture.form
destinationForm
/forms/destinationForm
/static/forms/destinationForm
for all these values I keep getting “No Camunda Form Definition was found for Camunda Form Ref” error. So whats the correct value I should use?
@hassang key=/forms/prepareDeparture.form, binding=latest didn’t work either.
I also tried key=destinationForm, binding=latest and key=/forms/destinationForm, binding=latest but without any luck.
@Niall - I watched your video and it explains how to configure form when deploying from Camunda Modeler. Could you please also make a video to show it when running it from Spring Boot when forms are store in resources folder resources/static/forms/
Also, what binding should be used when running it from spring(eclipse), is it deployment or latest or version ?
The video shows a way of connecting user task to forms that is not specific to any distro.
The only difference should be that you don’t need to deploy the process via rest, instead, you should just be able to start up your application
@Niall - So, does that mean just the form “Id” as “Form Ref” is good enough irrespective of form location?
Somehow that is not working. What am I missing?
Does that mean Form Ref approach can only be used to link with a form deployed to the database whereas Form Key approach can be used to do both (link with a form resides within a process application or with a form deployed to the database)?
From my perspective, the formRef is better that the formKey deployment approach, as you can specify a binding to a version with the reference. Using latest provides more flexibility updating just the process model or the form independently from each other.
I solved your problem.The forms you have deployed is stored in database ----- act_ge_bytearray.
The forms are stored in this table , but its property – name is not like that you writted. So you need change it as same as the name in database .
For example: you need change the Form key : camunda-forms:deployment:static/forms/Form_check.form
Hello! I have the same problem, I’m using camunda platform 7.18 and modeler 5.8.0, I have one field ID when i’m creating the form in modeler. When I’m connecting it with bpmn and upload this using spring boot app with parameters:
the form will be loaded, but in tasklist i have an issue : {“type”:“InvalidRequestException”,“message”:“No Camunda Form Definition was found for Camunda Form Ref: CamundaFormRefImpl [key=is-incident, binding=latest, version=null]”,“code”:null}
Could you please help with it?
Also I found a strange moment when I check db act_re_camformdef, the column key_ was with generated value by Camunda, after I have corrected value in the columns key_ and beginning id_ the form became available after refresh tasklist, what the problem can be?