第二步:配置一级表单:
第三步:配置一级表单动作点函数
第四步:生成Action代码和保存WF代码
public class HomeController : Controller
{
[HandleError]
[HttpGet]
public ActionResult Index()
{
IDictionary<string, object> inputs = new Dictionary<string, object>();
IDictionary<string, object> results = WorkflowInvoker.Invoke(new IndexWF(), inputs);
return View(results["result"]);
}
}
{
[HandleError]
[HttpGet]
public ActionResult Index()
{
IDictionary<string, object> inputs = new Dictionary<string, object>();
IDictionary<string, object> results = WorkflowInvoker.Invoke(new IndexWF(), inputs);
return View(results["result"]);
}
}
WF代码:
第六步:生成View:Index.aspx代码