AnsweredAssumed Answered

Populating Process Variables using REST

Question asked by vprince on Jul 21, 2016
Latest reply on Oct 24, 2016 by cjose
I am starting a new process instance using http://localhost:8080/activiti-app/api/enterprise/process-instances with POST body

  "processDefinitionId": "test1:30:80205",
  "name": "testName:30:80205",
  "values": {
    "name": "Test Name",
    "id": "This should be stored in a variable"

Using the modeler, I create a process instance variable called 'id'. I also created a text box called 'name' in a start-form. When the workflow is started, I see that the 'name' is populated but the variable 'id' is not.

How do you populate a process instance variable when you start a workflow using REST?