Microsoft Windows Workflow 可以路由到特定工作站吗?

发布于 2024-07-11 19:12:21 字数 340 浏览 4 评论 0原文

我想编写一个工作流应用程序,将链接路由到文档。 路由基于机器而不是用户,因为我不知道谁将在给定的岗位上。 例如,我有一个表格。 它最初是在位置 A 填写的。现在我希望它转到位置 B 并让他们填写其余部分。 最后,它会到达位置 C,主管将在那里批准它。

这些位置都没有已知的用户。 那就是我不知道会是谁。 我只知道无论是谁都获得了授权(他们被分配到工作站并被批准在那里。)

Microsoft Windows 工作流会执行此操作还是我需要基于 SQL Server、IP 地址等构建自己的工作流?

另外,如何通知工作站的用户文档已发送到他们的计算机?

谢谢你的帮助。

I want to write a workflow application that routes a link to a document. The routing is based upon machines not users because I don't know who will ever be at a given post. For example, I have a form. It is initially filled out in location A. I now want it to go to location B and have them fill out the rest. Finally, it goes to location C where a supervisor will approve it.

None of these locations has a known user. That is I don't know who it will be. I only know that whomever it is is authorized (they are assigned to the workstation and are approved to be there.)

Will Microsoft Windows Workflow do this or do I need to build my own workflow based on SQL Server, IP Addresses, and so forth?

Also, How would the user at a workstation be notified a document had been sent to their machine?

Thanks for any help.

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

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

发布评论

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

评论(3

御守 2024-07-18 19:12:21

我认为如果我正在解决这个问题,工作流程就可以解决它。 它是您想要的具有三种状态的状态机:

  • A 开始
  • B 完成
  • C 批准

但是工作流需要在一个中心位置工作(相信我,您只想同时运行一个工作流运行时,否则相同的位)工作可以多次完成 请参阅 MSDN 论坛上的问题)。 因此,运行工作流程的中央服务器就是答案。

如何向用户呈现这一点可以通过多种方式完成。 Dave 建议使用 ASP.NET 网站来识别正在做这项工作的机器,这可能就是我会做的。 不过,您也可以编写一个 Windows 窗体客户端来执行相同的操作。 这需要使用 SOAP/WCF 之类的东西来促进客户端表单应用程序和中央工作流服务之间的通信。 这样做的好处是您可以使用系统尝试图标来提醒用户。

I think if I was approaching this problem workflow would work to do it. It is a state machine you want that has three states:

  • A Start
  • B Completing
  • C Approving

However workflow needs to work in one central place (trust me on this, you only want to have one workflow run time running at once, otherwise the same bit of work can be done multiple times see our questions on MSDN forum). So a central server running the workflow is the answer.

How you present this to the users can be done in multiple ways. Dave suggested using an ASP.NET site to identify the machines that are doing the work, which is probably how I would do it. However you could also write a windows forms client that would do the same thing. This would require using something like SOAP / WCF to facilitate communication between client form applications and the central workflow service. This would have the advantage that you could use a system try icon to alert the user.

掩于岁月 2024-07-18 19:12:21

您可能还想看看人类工作流程引擎,因为它们被设计用来做这样的事情(以及更多),我最熟悉 PNMsoft 的序列

You might also want to look at human workflow engines, as they are designed to do things such as this (and more), I'm most familiar with PNMsoft's Sequence

吃素的狼 2024-07-18 19:12:21

您可以设计一个通用的“路由”工作流程,使数据传输到工作站。 最简单的方法是将工作流嵌入到 ASP.NET 应用程序中。 每个工作站应使用查询字符串中的工作站 ID 来访问应用程序:

http://myapp/default.aspx? wid=01

当表单在工作站 A 填写完毕后,Web 应用程序中运行的工作流可以将其输入到下一个工作站的“工作箱”中。 任何坐在该表格所在计算机前的人都会看到该表格出现在要审阅的表格列表中。 您可以使用 AJAX 使其变得流畅并自动更新。

You can design a generic "routing" workflow that will cause data to go to a workstation. The easiest way to do this would be to embed the workflow in an ASP.NET application. Each workstation should visit the application with a workstation ID in the querystring:

http://myapp/default.aspx?wid=01

When the form is filled out at workstation A, the workflow running in the web app can enter it into the "work bin" of the next workstation. Anyone sitting at the computer for which the form is destined will see it appear in their list of forms to review. You can use AJAX to make it slick and auto-updating.

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