I’m building a decoupled website with Camunda handling workflows in the backend.
Now for a specific user task I want to utilize the forms provided by Camunda. So far everything looks good and works.
However in setting up a custom backend endpoint with which the frontend can build the form as specified in my workflow, I saw that the getDefaultValue() function on the FormField is deprecated. See related javadocs: FormField (camunda BPM Javadocs 7.3.7-ee)
But I see no explanation for why or a suggestion what I should use instead. But having this default value is useful for building a more complete experience in the frontend.
What should I use instead?