Esempio n. 1
0
 /// <summary>
 /// Modifies the workflow.
 /// </summary>
 /// <param name="workflow">The workflow.</param>
 /// <param name="modification">The modification.</param>
 public static void ModifyWorkflow(WorkflowSchema workflow, WorkflowSchema modification)
 {
     throw new NotImplementedException();
 }
Esempio n. 2
0
        /// <summary>
        /// Starts the workflow.
        /// </summary>
        /// <param name="worflowDef">The worflow def.</param>
        /// <returns></returns>
        public static Guid StartWorkflow(WorkflowDefinitionEntity worflowDef)
        {
            WorkflowSchema schema = McXmlSerializer.GetObject <WorkflowSchema>(worflowDef.Xaml);

            return(schema.InstanceId);
        }