关闭浏览器后还原工作流程状态 [英] Restore the work flow state after closing browser

查看:117
本文介绍了关闭浏览器后还原工作流程状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我对工作流程还有1个疑问.在这里,当我创建新的工作流程时,我可以通过使用会话从一种状态转移到另一种状态.但是,如果我使用了长时间运行的进程,由于浏览器关闭,我将无法恢复会话.为了克服这个问题,我将状态值存储到数据库中.但是在这里,我无法重新启动之前停止的工作流程.所以有人可以帮助我如何从停止状态重新启动工作流.

Hi Everybody,
I had 1 more doubt on workflows. Here when i create new workflow I am able to transfer from one state to other by using sessions. But if i gone for long running processes I am not able to restore the sessions as browser was closed. In order to over come that I am storing state values into database. But here I am not able to restart the workflow where i stopped previously. So can anybody help me how to restart the workflow a workflow from state where we stopped.

推荐答案

大家好,
经过长期的努力,得到了答案.
这里的解决方案是,我们可以使用补水来恢复状态工作流,该状态工作流处于离开状态的状态.
为此,在您的接口中声明一个事件,然后在服务类中定义该事件.现在转到工作流程设计并指定事件名称并调用一个外部方法.
在此帮助下,我得到答案的链接如下所示.我解决了此问题.


在WWF/ASP.NET 3.5中释放的导航工作流 [ ^ ]
Hi everybody,
Got answer for this after a long struggle.
Here solution is, we can restore the state workflow in which state we left it by using rehydration.
For this declare an event in your interface and define that event in the service class. Now go to workflow design and give the event name and call one external method.
the link which i got answer is shown below with help of this i solved this issue.


Navigational Workflows Unleashed in WWF/ASP.NET 3.5[^]


大家好,
经过长期的努力,得到了答案.
这里的解决方案是,我们可以使用补水来恢复状态工作流,该状态工作流处于离开状态的状态.
为此,在您的接口中声明一个事件,然后在服务类中定义该事件.现在转到工作流程设计并指定事件名称并调用一个外部方法.
在此帮助下,我得到答案的链接如下所示.我解决了此问题.


WWF/ASP.NET 3.5中释放的导航工作流[^]
Hi everybody,
Got answer for this after a long struggle.
Here solution is, we can restore the state workflow in which state we left it by using rehydration.
For this declare an event in your interface and define that event in the service class. Now go to workflow design and give the event name and call one external method.
the link which i got answer is shown below with help of this i solved this issue.


Navigational Workflows Unleashed in WWF/ASP.NET 3.5[^]


这篇关于关闭浏览器后还原工作流程状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆