AnsweredAssumed Answered

In activiti how to create subprocess using java

Question asked by vikramas on Oct 13, 2018

How to create subprocess in java . As I am generating the bpmn using java code i am stauck with subprocess, I am not able to find anything regarding this.

Like this I have created subprocess and I have already created a process using start, script, end and sequence flow but how to embed this as a subprocess in the below instance.

SubProcess subprocess=new SubProcess();
subprocess.setId("sub1");
subprocess.setName("sub1");

Outcomes