WorkflowRuntime 重新启动后,如何重新加载处于空闲状态的持久工作流? (新手问题)
我计划创建持久的工作流程,当它们闲置时我希望保留它们。但是,当它们处于空闲状态时,WorkflowRuntime 可能会重新启动。
问题是:如何以某种方式创建 WorkflowRuntime,使其重新加载所有存储的空闲工作流程?
感谢您的指点。
I am planing to create long lasting workflows which I would like to persist when they become idle. However, meanwhile they are in Idle state, the WorkflowRuntime might be restarted.
The question is: How do I create the WorkflowRuntime in a way, that it will reload all stored idle workflows?
Thanks for any pointers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
WorkflowRuntime 将确保重新加载具有过期 DelayActivity 的工作流。如果您使用自定义异步活动,则您有责任重新加载工作流程并对消息进行排队。
The WorkflowRuntime will make sure that workflows with a expired DelayActivity will get reloaded. If you are using custom async acitivities it is your responsibility to reload the workflow and queue the message.