开发者

How to force a workflow to terminate?

开发者 https://www.devze.com 2022-12-29 05:05 出处:网络
How can i abruptly terminate a workflow in a middle of an activity inter开发者_运维问答rupting the flow sequence?Can you not use the Terminate activity?

How can i abruptly terminate a workflow in a middle of an activity inter开发者_运维问答rupting the flow sequence?


Can you not use the Terminate activity?

If you want to be less ... nice ... you can always just chuck an exception (and possibly catch it passing it off to a Terminate/Log activity). Just keep the interactions exposed and documented.

Unfortunately, I find the "pretty picture" to just get in my way most of the time :-/ Sometimes using a State vs. Sequential workflow can be helpful.

0

精彩评论

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

关注公众号