供最终用户使用 Windows Workflow Foundation 设计业务流程的解决方案

发布于 2024-07-26 05:33:25 字数 578 浏览 2 评论 0原文

我想使用 WF 设计一个解决方案,最终用户可以根据其业务需求设计工作流程。 我想让解决方案尽可能灵活,用户不需要执行任何代码。

这里有一些想法 -

  1. 我需要根据业务流程创建自定义活动。

  2. 最终用户将使用设计器(VS 2008) 拖放活动来设计工作流。

  3. 如果最终用户想要使用EventDrivenActivity调用外部方法,则需要一个从ExternalDataExchange派生的接口。 以及将被调用的事件..如何使用自定义活动实现这一点。

  4. 工作流需要主机来驱动工作流实例。 就我而言,它是一个网络服务。 每次添加新的工作流时,启动工作流运行时的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 -

  1. I need to create Custom Activities based on business process.

  2. The end user will use a designer(VS 2008) to drag and drop activities to design a workflow.

  3. 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.

  4. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜扑 2024-08-02 05:33:25

听起来您想重新托管工作流设计器,以便最终用户可以编辑工作流。

您可能会发现一篇关于托管 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文