开发者

Cancel/Stop Workflow in WF4

开发者 https://www.devze.com 2023-02-24 05:06 出处:网络
I have long running workflow which runs for 3-5 minutes; I want to give flexibility to end user to Cancel/Stop/Abort workflow while开发者_运维百科 workflow is in execution. How can I do this ?

I have long running workflow which runs for 3-5 minutes; I want to give flexibility to end user to Cancel/Stop/Abort workflow while开发者_运维百科 workflow is in execution. How can I do this ?

Ocean


It depends on your workflow execution environment. If you are using the WorkflowApplication it has methods to control a workflow. If your are using the WorkflowServiceHost there is a Workflow Control Endpoint with a client that will let you do so. See this answer for the WCF option.

0

精彩评论

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