如何更改工作流程持久性值?

发布于 2024-07-27 23:58:53 字数 131 浏览 4 评论 0原文

我正在使用 .Net 中的状态机工作流程开发一个应用程序。

我的工作流程根据表内容保留一些值。 当表内容更改时,应更改持久值。 但这并没有发生 我怎样才能做到这一点?

问候 丹拉吉·S

I am developing an application using state machine workflow in .Net.

My workflow persisted some values based on the table contents.
The persisted values should be changed when the table contents are changed.
But it is not happening
How can I do that?

Regards
Dhanraj.S

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

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

发布评论

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

评论(1

妥活 2024-08-03 23:58:53

如果我理解正确,您的意思是

  1. 您使用一些数据调用工作流,然后保留工作流实例

  2. 现在这些值(在 wf 以外的数据库中)持久性数据库(如果您使用 sql server 进行 wf 持久性))已更改并且

  3. 您希望工作流根据更改的值执行操作或保留。

您需要重新加载持久工作流程并针对更改的值运行它。

If I understand you correctly you mean

  1. You called workflow with some data and then persisted the workflow instance

  2. Now those values (in database other than wf persistance db (if you are using sql server for wf persistance)) are changed and

  3. you want the workflow to do stuff or persist according to the changed values.

You need to reload the persisted workflow and run it for the changed values.

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