REST API request to fill a form


#1

I am following this post to make a REST request in order to start a task and fill a form in Camunda. It creates the task, and the inputs fields are filled properly but not the selects fields.

The request is:

http://localhost:8080/engine-rest/process-definition/key/fund-trade/submit-form

The payload:

{
“variables”: {
“client”:{“value”:“All of PIP Clients”,“type”:“String”},
“action”:{“value”:“Investment”,“type”:“String”},
“fundName”:{“value”:“227”,“type”:“String”},

}
}

And the form:

fund-trade-form.txt (12.7 KB)

Thanks.


#2

Selects are not filled by Camunda (with camunda variables), the have to be filled manually and the create camunda variables and bind them to each select field.