Asp.Net 网站与 Workflow Foundation 的集成

发布于 2024-07-19 03:37:32 字数 297 浏览 8 评论 0原文

我正在构建一个网络应用程序,其中涉及一些用户请求的处理。 用户提交某项请求,在获得批准之前,它会在组织中经历几个步骤和渠道,并通过一些预定义的状态更改其状态或被拒绝。 在处理过程中,球可能会滚回用户场地进行一些更改或更新一些信息。

客户希望用户工作流程来控制处理。 请帮助我决定如何将其与应用程序集成。 每当有新请求到来时,我是否应该启动新的工作流实例,返回下一个状态以及处理人员可以采取的可能操作并关闭工作流?

或者其他一些方法会更好?

I'm building a web application which has some processing of user requests involved. A user submits request for something, it goes through few steps and channels and its status changes through some predefined statuses, in the organization before being approved or rejected. During processing the ball may roll back to the user's court for some changes or to update some information.

The client wants to user workflow to control the processing. Please let help me decide how I can integrate it with the application. Should I start new workflow instance whenever a new request comes, return the next state and possible actions that processing person can take and close the workflow?

Or some other approach will be better?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

混吃等死 2024-07-26 03:37:32

您肯定希望为每个用户请求启动一个新的工作流实例。 正是这个工作流程控制着用户请求的生命周期。

请查看 K. Scott Allen 的 订单工作流程,网址为 Ode To Code 通过状态机工作流程处理“订单”的网站的完整工作示例。 工作流代码与 Web 层很好地分离。

You definitely want to start a new workflow instance for every user request. It is this workflow that controls the life of your users requests.

Have a look at K. Scott Allen's Orders Workflow on Ode To Code for a full working example of a website that handles "orders" through a state machine workflow. The workflow code is nicely separated from the web layer.

记忆で 2024-07-26 03:37:32

您可以查看 Web 工作流程 示例?

You could maybe look at the Web Workflow examples?

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