WF Persistence - 删除旧的工作流程

发布于 2024-07-19 02:39:05 字数 106 浏览 5 评论 0原文

当将 Workflow Foundation 与持久性一起使用时,我们希望从中删除一些(或全部)工作流,这些工作流不应再被持久化/运行。

我可以使用任何脚本/工具来实现此目的吗?

When using Workflow Foundation with persistence there comes a point we want to drop some (or all) workflows out of it which no longer should be persisted/run.

Any script/tool that I can use for this?

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

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

发布评论

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

评论(1

疯了 2024-07-26 02:39:05

没有可用于执行此操作的标准 WF 工具。 最好的方法是通过一些自定义命令行工具进入持久性数据库并删除它们。 SqlWorkflowPersistenceService 没有任何帮助,因为您必须先启动 WF 运行时,然后才能使用它来检索工作流,并且它们也能够开始运行。

There is no standard WF tool you can use to do this. The best way is just go into the persistence database through some custom command line tool and remove them. The SqlWorkflowPersistenceService isn't any help because you have to start the WF runtime before you can use it to retrieve workflows and they would also be able to start running.

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