是否有“重大变更”列表? (即对工作流程进行何种类型的更改会破坏现有实例)

发布于 2024-11-08 05:51:50 字数 181 浏览 4 评论 0原文

是否有一个列表列出了可以对现有工作流服务进行的所有类型的更改,这些更改将阻止重新加载原始工作流的现有实例?例如,我最近对自定义活动做了一个小更改(更改了“if”语句中的条件),并且所有现有工作流实例仍然正常加载。现在,在过去,我删除了工作流使用的对象的属性,当我尝试重新加载持久工作流实例时,它让我崩溃了。

这样的列表存在吗?谢谢!

Is there a list somewhere that lays out all of the types of changes that can be made to an existing workflow service that would prevent existing instances of the original workflow from being re-loaded? For example, I recently made a small change to a custom activity (changed a condition in an "if" statement) and all existing workflow instances still load as normal. Now, in the past, I had removed a property on an object that the workflow uses, and when I tried to re-load a persisted workflow instance, it blew up on me.

Does such a list exist? Thanks!

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

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

发布评论

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

评论(2

混吃等死 2024-11-15 05:51:50

据我所知,还没有这样的列表。您确实应该将所有更改视为破坏。如果您彻底测试,您会发现一些异常,但这些异常主要是更改单个 VB 表达式。

As far as I am aware there isn't a list like that. You really should consider all changes as breaking. If you test thoroughly you will find a few exceptions but these will be mostly changing a single VB expression.

无所的.畏惧 2024-11-15 05:51:50

没有这样的列表。
就我而言,您可以更改 VB 表达式,始终在文本编辑器中编辑 .xamlx。我这么说是因为在我的例子中,有时图形编辑器(VS2010)更改了活动的 id 而没有引入新的活动(对此要小心)。

您还可以更改代码活动 (.xaml) 中的整个内部代码(不是输入/输出参数)。因此,最好将所有“高度可变”逻辑放入代码活动中,以便能够修改此逻辑,避免现有 WF 实例出现问题。

There is no such a list.
As far as I am concerned, you can change VB expressions always editing the .xamlx in a text editor. I say that, because in my case, sometimes the graphical editor (VS2010) changed the ids of the activities without introducing new activities (be carefull with this).

You can also change the whole internal code (not the inputs/outputs parameters) in code activities (.xaml). Because of that, it would be a good idea to put all the "high changeable" logic into code activities in order to be able to modify this logic avoiding problems with existing WF instances.

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