`
lstcyzj
  • 浏览: 617 次
  • 性别: Icon_minigender_1
  • 来自: 成都
最近访客 更多访客>>
社区版块
存档分类
最新评论

WorkFlow .Net 流程引擎

阅读更多

WikeFlow官网:www.wikesoft.com

 

WikeFlow学习版演示地址:workflow.wikesoft.com

 

WikeFlow学习版源代码下载:https://gitee.com/wikesoft/WorkFlow

 

WikeFlow2.0演示地址:workflow2.wikesoft.com​​​​​​​​​​​​​​

 

WikeFlow2.0帮助文档:WikeFlow2.0-帮助文档

 

给大家介绍一款.net 流程引擎 WikeFlow.

 

微软官方的WorkFlow入门要求比较高,所以我们萌生了开发一个简单的工作流引擎,帮助.Net coder们解决软件项目中流程的处理。实现写最少的代码,实现最炫酷的功能。

 

主要功能

1、流程审批,一般的业务审批

 

2、流程会签,一个任务节点多人审批

 

3、流程驳回,流程不同意

 

4、流程转办,流程从一个人转交给另外的人处理

 

5、流程传阅,将流程传递给其他的人查阅

 

6、流程撤回,提交后可以撤回

 

7、流程附件,支持节点附件

 

8、流程审批中修改业务数据

 

9、流程审批中业务数据权限设置

 

WikeFlow支持流程动态跳转。。。

WikeFlow官网:www.wikesoft.com

 

WikeFlow演示地址:workflow.wikesoft.com

 

WikeFlow2.0演示地址:workflow2.wikesoft.com

 

WikeFlow2.0帮助文档:WikeFlow2.0-帮助文档

 

流程设计器

 

 

 

实际运用

 

 

 

 

WikeFlow工作流引擎只有两个核心类,FlowDesignService(流程设计),FlowInstanceService(流程实例)

 

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(string flowDefKey,string userId, string userName,string condition) 创建实例

InstanceMessage Complete(string nodeRecordId,string userId,string userName,string userMsg,string condition)处理流程

FlowInstance GetRunFlowInstance(string flowId); 得到当前运行的实例

List GetHistoryFlowInstances(string flowId); 得到历史流程处理记录列表

Bitmap GetRunBitmap(string flowId) 得到运行中的流程图

发起流程

 

 InstanceMessage flowInstance = _flowInstanceService.CreateInstance("flow_holiday", "创建人用户ID", "管理员", "条件");

处理流程

 

_flowInstanceService.Complete("节点ID", "处理人用户ID", "处理人用户", "处理意见", "条件");

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics