AnsweredAssumed Answered

New Process Instance via REST API

Question asked by adgonzal on Oct 1, 2013
Latest reply on Oct 1, 2013 by adgonzal
I'm trying to create a new instance of a process via REST call but there is something I don't understand. I invoke the API via curl.
curl  -i -H "Content-Type: application/json;charset=UTF-8" -X POST -d @C:\tmp\escal.json http://localhost:8090/activiti-rest/service/runtime/process-instances where escal.json is:
{
  "processDefinitionKey":"escalationExample"
}

The response is Ok but when I access Activiti Explorer the new instance doesn't appear.
What am I forgotting?.
Do you have an example (or a resource to download) to see how to use the API?

Thanks in advance

Outcomes