I want to initialize form fields with data from the pdm. What would be the best practice? Use the rest api (caseVariable) or use the context Object?
My recommendation would be to declare a variable in your form with type set to “external API” and use the context variable to build the URL. E.g.: …/{{context.nameOfYourBussinessVariable_ref.link}}
You can then map this variable attributes to your form widget.
I strongly recommend to use business variable over process variables.