示例#1
0
        public void TestStoreNotIQueryableGroupStore()
        {
            ProcessManager manager = new ProcessManager();

            try
            {
                manager = new ProcessManager(null);
                manager.ActivateProcessInstanceById(null);
            }
            catch (System.Exception)
            {
            }
            ProcessInstance data = manager.ProcessInstances.FirstOrDefault();

            manager.ActivateProcessInstanceById(data.ProcessInstanceId);
            manager.Dispose();
        }
示例#2
0
        public void TestActivateProcessInstance()
        {
            ProcessManager manager = new ProcessManager();

            manager.ProcessDefinitions.FirstOrDefault();
            try
            {
                manager.ActivateProcessInstanceById(null);
            }
            catch (System.Exception)
            {
            }
            ProcessInstance data = manager.ProcessInstances.FirstOrDefault();

            manager.ActivateProcessInstanceById(data.ProcessInstanceId);
            manager.Dispose();
        }