public static IWfProcessDescriptor CreateFreeStepsProcessDescriptor(params IUser[] approvers) { string processKey = UuidHelper.NewUuidString(); WfFreeStepsProcessBuilder builder = new WfFreeStepsProcessBuilder( Define.DefaultApplicationName, Define.DefaultProgramName, approvers); return(builder.Build(processKey, "测试流程")); }
public static IWfProcessDescriptor CreateFreeStepsProcess(params IUser[] stepUsers) { WfFreeStepsProcessBuilder builder = new WfFreeStepsProcessBuilder("TestApp", "TestProg", stepUsers); return(builder.Build(UuidHelper.NewUuidString(), "FreeSteps")); }