using System;
namespace BP.WF.HttpHandler
{
///
/// 页面功能实体
///
public class WF_WorkOpt_StartGuide : BP.WF.HttpHandler.DirectoryPageBase
{
///
/// 构造函数
///
public WF_WorkOpt_StartGuide()
{
}
//执行启动,并设置父子关系.
public string ParentFlowModel_StartIt()
{
Int64 pworkid = this.GetRequestValInt64("PWorkID");
GenerWorkFlow gwfP = new GenerWorkFlow(pworkid);
Flow fl = new Flow(this.FlowNo);
Work wk=fl.NewWork();
BP.WF.Dev2Interface.SetParentInfo(this.FlowNo,this.WorkID,pworkid,null,gwfP.NodeID,false);
return wk.OID.ToString();
}
}
}