工作流的一些记录

  流程设计器=》gooflow 

主要接口

1.FlowDesignService

  • string AddFlowDef(FlowDefModel flowDef); 添加流程定义
  • FlowMessage UpdateFlowDef(FlowDefModel model); 修改流程定义
  • FlowMessage DeleteFlowDef(IList ids) 删除流程定义
  • FlowDefModel GetFlowDef(string id); 得到流程定义对象
  • FlowMessage SaveDiagram(FlowModel flowDef); 保存流程设置
  • Bitmap GetBitmap(string flowDefId); 返回流程图
  • PagedResult GetList(FlowDefFilter filter); 分页查询流程定义

2.FlowInstanceService

  • InstanceMessage CreateInstance 创建实例
  • InstanceMessage Complete处理流程
  • FlowInstance GetRunFlowInstance(string flowId); 得到当前运行的实例
  • List GetHistoryFlowInstances(string flowId); 得到历史流程处理记录列表
  • Bitmap GetRunBitmap(string flowId) 得到运行中的流程图
原文地址:https://www.cnblogs.com/zhanying/p/6927510.html