1.拉一个C#节点,串入流程. 2.C#节点上代码如下: UserCommonInfoManager.SetOutOfOffice(Context.Current.LoginUser.Account,OutOfOfficeState.Period, (DateTime)FormDataSet["DemoTable1.Date1"], (DateTime)FormDataSet["DemoTable1.Date2"]); 这样就可以了,呵呵