AnsweredAssumed Answered

How to Edit ProcessDefinition/WorkflowDefinition programatically

Question asked by anandmahadik on Aug 13, 2015
Latest reply on Aug 19, 2015 by trademak
Hi,

I am new to Activiti framework.

Is there is way by which I can edit a Process/WorkFlow Definition programmatically? i.e. Add new Task, Delete Task or Change Task sequence/Linking. 

So my requirement is :-
1. Read a exsisting ProcessDefinition in-memory from database
2. Make some changes to it
3. Save the definition or save it as new definition
4. Instantiate the new definition

Please share some code by which is can accomplish this.

Thanks a lot in Advance.

Outcomes