AnsweredAssumed Answered

Start a process using Rest Interface

Question asked by kavi on Jul 5, 2011
Hi ,

I would like to use Rest interface to start the process from other application.
To do so i referred http://activiti.org/userguide/index.html#N122C4

But i have doubts as how to do it?

How to use Post option for a process in Myprocess.bpm20.xml?
For eg : I have the process
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-364fae4e-49c9-4005-b2ca-f8848ae28f43" targetNamespace="http://www.signavio.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
   <process id="sid-b0bc2b6d-2b26-4d5b-b1ad-4740f20a9650" isExecutable="false">
……….

Here where can i write the resp interface to start the process from other application?

Is it possible to set the url for this process so that i can start the process by this url from other application?
Thanks,
kavi

Outcomes