public ActionResult GoTo(FormCollection collection) { if (collection != null) { string[] array = (base.Request.Form["step"] ?? "").Split(','); Dictionary <Guid, string> dictionary = new Dictionary <Guid, string>(); string[] array2 = array; foreach (string text in array2) { if (MyExtensions.IsGuid(text)) { string text2 = base.Request.Form["member_" + text]; if (!MyExtensions.IsNullOrEmpty(text2)) { dictionary.Add(MyExtensions.ToGuid(text), text2); } } } RoadFlow.Data.Model.WorkFlowTask workFlowTask = null; RoadFlow.Platform.WorkFlowTask workFlowTask2 = new RoadFlow.Platform.WorkFlowTask(); string text3 = base.Request.QueryString["taskid"]; workFlowTask = workFlowTask2.Get(MyExtensions.ToGuid(text3)); bool flag = workFlowTask2.GoToTask(workFlowTask, dictionary); base.ViewBag.script = "alert('跳转" + (flag ? "成功" : "失败") + "');new RoadUI.Window().reloadOpener();new RoadUI.Window().close();"; } return(View()); }