/// <summary> /// Trigger the population of the default workflow actions for 2010/2013 workflows /// </summary> public void LoadWorkflowDefaultActions() { WorkflowActions wfActions = new WorkflowActions(); var sp2010Actions = LoadDefaultActions(WorkflowTypes.SP2010); var sp2013Actions = LoadDefaultActions(WorkflowTypes.SP2013); foreach (var action in sp2010Actions) { wfActions.SP2010DefaultActions.Add(new WorkflowAction() { ActionName = action, ActionNameShort = GetShortName(action) }); } foreach (var action in sp2013Actions) { wfActions.SP2013DefaultActions.Add(new WorkflowAction() { ActionName = action, ActionNameShort = GetShortName(action) }); } this.defaultWorkflowActions = wfActions; }
private WorkflowManager() { // place for instance initialization code defaultWorkflowActions = null; }