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,