有没有办法检查 Windows 工作流中的顺序工作流?

发布于 2024-07-10 05:41:10 字数 127 浏览 5 评论 0原文

状态机工作流具有 StateMachineWorkflowInstance 类,您可以使用它来检查工作流的当前状态、获取合法转换等... 对于顺序工作流程有类似的东西吗? 我希望有一种简单的方法来以编程方式找出工作流程当前所处的状态。

A state machine workflow has the StateMachineWorkflowInstance class that you can use to inspect the current state of the workflow, get legal transitions, etc...
Is there something like that for sequential workflows? I would like to have an easy way to programmaticaly find out what state the workflow is currently in.

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

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

发布评论

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

评论(1

零時差 2024-07-17 05:41:10

工作流程跟踪将为您提供有关顺序工作流程当前状态的大量信息。 如果需要,它甚至可以从工作流程中提取自定义数据并将其存储为跟踪数据的一部分。 默认情况下,它跟踪工作流本身及其内部所有活动的所有状态更改。

SqlTrackingQuery 对象有助于从数据库中获取跟踪数据,但编写自己的 SQL 查询也很简单。

http://wiki.windowsworkflowfoundation.eu/default.aspx/WF/SqlTrackingService。 html

Workflow tracking will five you a lot of information about the current state of your sequential workflow. It can even extract custom data from the workflow and store it as part of the tracking data if you want. By default it tracks all state changes for the workflow itself as well as all activities inside it.

The SqlTrackingQuery object helps in getting tracking data out of the database but it is straightforward to write your own SQL queries as well.

http://wiki.windowsworkflowfoundation.eu/default.aspx/WF/SqlTrackingService.html

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