private void CreateWorkflow(DocX body) { for (int i = 0; i < _activities.Count; i++) { ActivityChainModel classData = _activities[i]; body.DocumentWorkflow(classData.WorkflowType.Name, null); BuildActivities(body, classData.ActivityTree); } }