REST API parameters

I have a curl command that starts a business process instance and passes a few parameters.

curl…-X POST -d ‘{processDefinitionKey":“BuyInitialisation”,“variables”:{“purchase”:“smith”,“account”:“12345”}]}’ http://…service/runtime/process-instances

The process includes a form where I want to display the name and account that is passed. Please can you let me know how I can do this.

Thank yo.

Which setup are you using? The Flowable Task app, your own spring boot app, etc. ?
If using the Flowable Task app (and a form modeler in Flowable Modeler), simply referencing the form field with the same id as the variable will show it.