供最终用户使用 Windows Workflow Foundation 设计业务流程的解决方案
我想使用 WF 设计一个解决方案,最终用户可以根据其业务需求设计工作流程。 我想让解决方案尽可能灵活,用户不需要执行任何代码。
这里有一些想法 -
我需要根据业务流程创建自定义活动。
最终用户将使用设计器(VS 2008) 拖放活动来设计工作流。
如果最终用户想要使用EventDrivenActivity调用外部方法,则需要一个从ExternalDataExchange派生的接口。 以及将被调用的事件..如何使用自定义活动实现这一点。
工作流需要主机来驱动工作流实例。 就我而言,它是一个网络服务。 每次添加新的工作流时,启动工作流运行时的Web服务都需要知道“类型”和“参数”来创建和启动工作流实例。
我认为这将是开发人员将其附加到程序中的工作。 或者有没有办法以声明方式实现此目的,假设 Web 服务已在 IIS 上启动,并且在配置中添加了新的工作流类型(我不确定,只是猜测..)
我想知道我是否走在正确的轨道上实现这个解决方案还是错过了一些。
请专家指导。 谢谢。
I want to design a solution using WF, where an end user can design workflows based on their business needs. I want to make the solution as much as flexible where the user does not need to do any code.
here are some thoughts -
I need to create Custom Activities based on business process.
The end user will use a designer(VS 2008) to drag and drop activities to design a workflow.
If the end user wants to use EventDrivenActivity to call external methods, then there is a need of an interface which derives from ExternalDataExchange. and events which will be invoked..How this is possible using custom activities.
A workflow needs a host to drive the instance of workflow. In my case its a web service.
Everytime a new workflow is added, the webservice, which starts the worklfow runtime needs to know the "type" and "parameters" to create and start the workflow instance.
This , I think will be the job of a developer to attach it in program. Or is there a way to achieve this declaratively, Say Web service is up on IIS, and a new workflow type is added in the config (I am not sure, just guess..)
I want to know, if i am on right track to achieve this solution or missed some .
Experts please guide. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您想重新托管工作流设计器,以便最终用户可以编辑工作流。
您可能会发现一篇关于托管 WF 设计器的好文章一个不错的起点。
Sounds like you'd like to re-host the workflow designer so the end-user can edit the workflow.
There is a good article on Hosting the WF Designer that you may find a decent starting point.