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?
I found the problem. I didn't know that activiti-rest point by default to a different h2 database. Now I've configured with mySQL the two applications poiting to the same database.