AnsweredAssumed Answered

Starting process instance via REST

Question asked by anoopmonish on Jan 19, 2016
Latest reply on Jan 22, 2016 by jbarrez
tried sending this as body to POST request /activiti-app/api/enterprise/process-definitions.

{
     "processDefinitionId":"testprocess:1:707196",
     "name":"processapp",
     "values":
     {  
          "name":"",
          "department":"XYZ",
          "year":"2016"
     }
}


response:

{
  "message": "No start form has been found for process definition: testprocess:1:707196",
  "messageKey": "GENERAL.ERROR.NOT-FOUND"
}


how do we send variables as input before starting the process..
runtimeService.startProcessInstanceById(id, variableMap) - tried this it works.

but how do we pass variables via rest call.. is it not possible without a startform.?

Thanks,

Outcomes