protected internal virtual IList <BpmnModelInstance> createProcesses(int numberOfProcesses) { IList <BpmnModelInstance> result = new List <BpmnModelInstance>(numberOfProcesses); for (int i = 0; i < numberOfProcesses; i++) { result.Add(ProcessModels.oneTaskProcess(i)); } return(result); }
protected internal virtual IList <BpmnModelInstance> createSequentialCallActivityProcessAsync() { IList <BpmnModelInstance> modelInstances = new LinkedList <BpmnModelInstance>(); modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessAsExpressionAsync(0)); modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessPassingVariables(1, 2)); modelInstances.Add(CallActivityModels.oneBpmnCallActivityProcessPassingVariables(2, 0)); modelInstances.Add(ProcessModels.oneTaskProcess(3)); return(modelInstances); }