对工作流服务的哪些更改会破坏现有工作流实例
我的团队开始使用 Windows Workflow Foundation,并且处于该过程的早期阶段。我们一直在努力研究我们所做的哪些更改会破坏当前正在进行的工作流程。
任何有经验的人都可以回答(或为我指明良好文档的方向),我们将不胜感激。
My team is beginning to use Windows Workflow Foundation, and are early in the process. We have been trying to research what changes we make will break workflows that are currently in process.
Anyone with experience that can answer (or point me in the direction of good documentation) this would be most appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该将对工作流定义的所有更改视为重大更改,这将阻止现有实例重新加载。有一些小的例外,但出于所有意图和目的,您可以忽略这些例外。
借助 WF4.5,我们能够将版本信息添加到工作流实例并创建更新映射以将状态从一个版本转换为另一版本。请参阅我的博客文章 此处了解公开的更多详细信息。
You should consider all changes to a workflow definition a breaking change that will prevent existing instances from reloading. There are a few minor exceptions but for all intents and purposes you can ignore those.
With WF4.5 we get the ability to add version information to workflow instances and create update maps to convert state from one version to another. See my blog post here for some more details that where made public.