开发者

How to suspend workflow and resume workflow?

开发者 https://www.devze.com 2023-03-10 02:34 出处:网络
I have long running workflow; and I want to give user option to suspend开发者_运维问答 workflow and resume it when he is ready...

I have long running workflow; and I want to give user option to suspend开发者_运维问答 workflow and resume it when he is ready...

How can I achieve this in wf4 ?


WF4 uses Bookmarks now, suspend and unsuspend is only working in wf3.


There's a video and sample code from MSDN which show how to do it.

This presumes you're using the AppFabric host. You may be able to port the idea to a non-AppFabric workflow if need be.

0

精彩评论

暂无评论...
验证码 换一张
取 消