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(); }
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(); }