Exemple #1
0
 /// <summary>
 /// 任务退回事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void taskBackButtonEvent(object sender, EventArgs e)
 {
     WorkFlowRuntime wfruntime = new WorkFlowRuntime();
     wfruntime.UserId =userId;
     wfruntime.OperatorInstanceId = operatorInsId;
     wfruntime.TaskBack();
     tooltip.Text = toollips();
 }
        /// <summary>
        /// 流程退回
        /// </summary>
        /// <param name="userID">用户ID</param>
        /// <param name="OperatorInsId">操作ID</param>
        /// <param name="WorkTaskInsId">实例任务节点ID</param>
        /// <returns>返回流程执行结果</returns>
        public static string RunWorkFlowBack(string userID, string OperatorInsId, string WorkTaskInsId)
        {
            WorkFlowRuntime wfruntime = new WorkFlowRuntime();
            wfruntime.UserId = userID;
            wfruntime.OperatorInstanceId = OperatorInsId;
            wfruntime.TaskBack();

            return Toollips(WorkTaskInsId);
        }