AnsweredAssumed Answered

RESTful API, deploying and starting a process

Question asked by jmiller on Aug 7, 2012
Latest reply on Aug 10, 2012 by jmiller
Hello.  We are using the RESTful interface with Activiti 5.9.  We changed org.activiti.rest.api.repository.DeploymentUploadResource to return a DeploymentResponse (thus JSON) instead of an HTML string.

We are attempting the simplest case to deploy a process definition and then start a process instance from that definition.  The documentation and code indicate we can start a process instance by process definition ID or key.  When we deploy a process definition we get back the deployment ID not the process definition ID, and it looks like it's hard to get the process definition ID and key.  What's the easiest way to get the process definition ID and/or key so that we can start the process?

Thank you very much for your thoughts.

Joe Miller

Outcomes