AnsweredAssumed Answered

create new process via API

Question asked by lucat on Oct 2, 2012
Latest reply on Oct 3, 2012 by frederikheremans1
Hi all.

I have deployed some processes into activiti repository, and need to create a new process reading the elements of my already deployed "bpmn20.xml" processes. Is there any way to do that via API? Or i need to read the xml of the processes and to copy what i need?

I found getElements(), getNodes() methods that return me the objects of the process (startevent, endevent, usertask…) but i haven't found anything to copy all the element in a new process.

Any idea?